See. perlrun for more info on perl's commandline arguments.perl -i -ne 'print unless /\bsome string\b/' file
_________
broquaint
In reply to Re: delete a line by a string
by broquaint
in thread delete a line by a string
by moked
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |