grepping for "Subject" in /usr/spool/news

Tim Smith tim at cithep.UucP
Sun Oct 7 17:00:04 AEST 1984


I solved this problem by hacking together a version of grep with
a new flag, the -o flag, which means only match one line per file.
It's a simple change to grep, and it doesn't require teaching grep
about usenet news headers, so it may be used for other purposes.
-- 
Tim Smith		ihnp4!cithep!tim  or  ihnp4!wlbr!callan!tim



More information about the Comp.unix mailing list