Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
abcd dg 17786 sam mixed -- abcd -- 17889 ram -- -- abcd dg 17786 dam mixed --
How can I grep "mixed" from these ommiting the lines that having pattern like "-- --" ,i.e, two --.
I have to do it in a perl script . Please Help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Grep n awk
by ww (Archbishop) on Jan 03, 2013 at 15:16 UTC | |
|
Re: Grep n awk
by kennethk (Abbot) on Jan 03, 2013 at 15:46 UTC | |
|
Re: Grep n awk
by space_monk (Chaplain) on Jan 03, 2013 at 17:23 UTC | |
|
Re: grep(1) like functionality in Perl
by Anonymous Monk on Jan 03, 2013 at 16:13 UTC | |
by Anonymous Monk on Jan 04, 2013 at 02:58 UTC | |
|
Re: Grep n awk
by Anonymous Monk on Jan 03, 2013 at 15:06 UTC |