in reply to Remove a line from a file using perl one liner
or, if you're feeling brave...perl -ne 'next if m,^Alias /icons/,; print' < one.txt > tmp.txt && mv +tmp.txt one.txt
should do the trick.perl -i -ne 'next if m,^Alias /icons/,; print' one.txt
|
|---|