P is for Practical | |
PerlMonks |
Re: Remove a line from a file using perl one linerby olus (Curate) |
on Mar 19, 2009 at 13:56 UTC ( [id://751720]=note: print w/replies, xml ) | Need Help?? |
perl -pi -e 's#Alias.*/icons/.*##s;' one.txt
In Section
Seekers of Perl Wisdom
|
|