smile shocked smile shocked crazy

Without even examining that RE, i just said a silent prayer to the Unix god(s) that there must be an easier way to do that. tongue


I can however take the oldest cheap-shot in the book...
Originally Posted By: Virtual1
cat /var/log/wired.log | grep -v -e "expression"

If there's a file involved, we don't need cat and the pipe... just grep by itself works:

grep -v -e "expression" /var/log/wired.log