perl -n -i -e 'print unless (m/^.*line-to-remove$/)' fileA [download]
In reply to Re: sed style file parse from command-line by superfrink in thread sed style file parse from command-line by Anonymous Monk