grep replacement

T. J. Thompson tj at mks.UUCP
Wed Jun 15 14:34:10 AEST 1988


In article <8032 at brl-smoke.ARPA>, gwyn at brl-smoke.ARPA (Doug Gwyn ) writes:
> ... but I sure would like for the -H (ALWAYS print filename)
> option to be the default instead of the current variable algorithm.

This option is exactly what you need when exec'ing grep from find.
It is implemented as
	grep pattern file /dev/null

-- 
     ll  // // ,'/~~\'   T. J. Thompson              uunet!watmath!mks!tj
    /ll/// //l' `\\\     Mortice Kern Systems Inc.         (519) 884-2251
   / l //_// ll\___/     35 King St. N., Waterloo, Ont., Can. N2J 2W9
O_/                                long time(); /* know C */



More information about the Comp.unix.questions mailing list