a stupid little script for piping your egrep searches into, so instead of 
having tons of hard-to-read text, there is a blank line skipped after each 
search results line.

/usr/local/bin/skipline.sh

#!/bin/sh

awk '{print $0"\n"}'

exit 0

==================

usage:

egrep -i "pattern" /var/log/maillog | skipline.sh | less

or

egrep -i "pattern" /var/log/maillog | skipline.sh | mail -s "text" [EMAIL 
PROTECTED]


you could rename to something shorter like "skln", but keep it on your path.

There's probably an easier way, open to suggestions.

Len

        


Reply via email to