delete lines containing a specific word in afile

Hi,

Please suggest how to write a shell script which delets all the lines containing the word unix in the files supplied as argument in the shell.

grep -v keyword

Hi,

sed '/UNIX/d' inputfile > output

or

if you are using variable ...then
sed -e '/'$var'/d' inputfile > output

Thanks
Sha

better yet, add word boundaries:

grep -v "\<unix\>" filename

this takes care of words such as unixed and unix1

Thank you all for the suggestions.