On Thu, Mar 15, 2001 at 08:45:17PM -0600, Jonathan Wilson wrote: > Hey, > > I need to remove every single line in a bunch of log files that > contain to certain IPs, in order to find something else I'm looking > for. Sounds like an awk or sed job - anyone have an idea? How about grep -v? grep -v $IP $LOG > $TMP_LOG; mv -f $TMP_LOG $LOG -- Hal B [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] -- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list