![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: deletion of one line of a particula patternby ccn (Vicar) |
on Aug 23, 2004 at 19:56 UTC ( #385201=note: print w/replies, xml ) | Need Help?? |
perl -ne "print unless /ID:/" datafile update: perl -i.bak -lne "print $1 if /\((E\d+)\)/" datafile
In Section
Seekers of Perl Wisdom
|
|