sed not working as advertised
I need to remove a line in a file that contains a word within the line. I know how to do this with grep, but this example was on a site that was also supposed to do this in place:
sed -i -e '/word/d' <f1> # delete line containing 'word' in file in place
What this does is delete the 'word' out of the line, not delete the whole line.
Is this possible to do with sed in place?