allbery@ncoast.UUCP (Brandon Allbery) (05/18/86)
Expires: Quoted from <256@rtech.UUCP> ["cgrep alternatives"], by daveb@rtech.UUCP... +--------------- | A while back a 'cgrep' program was posted. While I found the idea good | (I've often wanted context around grep output), it seemed annoying that | the program required additional arguments to get context, and didn't | take regular expressions. | | Then I remembered the 'context' program posted about 9 months ago, and | used to decipher the output of compiler error messages. | | grep -n pattern files | context | | does very nearly just what I want, without having to think about new | tools and new flags. +--------------- I wondered when someone would notice that. That's exactly why I wrote it (that, and ``make | context'' -- VERY useful). --Brandon -- decvax!cwruecmp!ncoast!allbery ncoast!allbery@Case.CSNET ncoast!tdi2!brandon (ncoast!tdi2!root for business) 6615 Center St. #A1-105, Mentor, OH 44060-4101 Phone: +01 216 974 9210 CIS 74106,1032 MCI MAIL BALLBERY (part-time) PC UNIX/UNIX PC - which do you like best? See <1129@ncoast.UUCP> in net.unix.