sumathigokul has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, i have a text file contains following lines...
Here, i want to extract string next to colon ':' i.e c_c, b_c and a_c and save them in another text file. How to print next to pattern matching?2 INT_NET Net : c_c 2 INT_NET Net : b_c 2 INT_NET Net : a_c
I also want your comments on my approach of this problem. I have two files, one is .vhd file (which contains nets names as a_c, b_c and c_c)and another is designer.log file which lists high fanout nets of the design. i have to extract these high fanout nets from designer.log file and accordingly i have to modify those nets in .vhd file. For this problem, i wrote perl script which extract high fanout nets with its corresponding statements also as shown above. From this statements i want to extract those nets name alone??
Thank you all.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Print string next to pattern matching?
by Anonymous Monk on May 05, 2015 at 06:52 UTC | |
by sumathigokul (Acolyte) on May 05, 2015 at 07:35 UTC | |
by Anonymous Monk on May 05, 2015 at 07:59 UTC | |
Re: Print string next to pattern matching?
by AnomalousMonk (Archbishop) on May 05, 2015 at 12:33 UTC | |
Re: Print string next to pattern matching?
by edimusrex (Monk) on May 05, 2015 at 14:52 UTC | |
by sumathigokul (Acolyte) on May 06, 2015 at 02:48 UTC |
Back to
Seekers of Perl Wisdom