in reply to Remove a line from a file using perl one liner
perl -pi -e 's#Alias.*/icons/.*##s;' one.txt
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Remove a line from a file using perl one liner
by ikegami (Patriarch) on Mar 19, 2009 at 14:00 UTC | |
by olus (Curate) on Mar 19, 2009 at 14:09 UTC | |
by Anonymous Monk on Mar 19, 2009 at 14:11 UTC |
In Section
Seekers of Perl Wisdom