Delete lines at several places in a file with script

Hi,

I am a newbie to shell scripting, and I have a file which quite large which I would like to delete lines at certain places. I want to search for a keyword which is recurring in the file. When matched I would like to delete the line. And when the file was so huge I thought I ought to learn shell scripting to perform this for me. Anyone who can help me out?

Use grep with the -v option. Read the manpage of grep and try to find out how it works.

Regards

suppose your keyword is deleteme

sed '/deleteme/d' oldfile > newfile

Thanks a lot..