> is there some way I can grep my log and have anything that does not
> contain a certain pattern to be dumped to a new file. For example:
> 
> more messages | grep 216.47.32.24 < newmessages
> 
> will take all the lines WITH 216.47.32.24 in it and dump it into a new
> log. Can I do the opposite and take everything else but and dump it
> into a log as well.

Just use the -v flag for grep

more messages | grep -v 216.47.32.24

will return every line not matching 216.47.32.24

Nickus



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to