Path: utzoo!utgpu!water!watmath!mks!tj From: tj@mks.UUCP (T. J. Thompson) Newsgroups: comp.unix.questions Subject: Re: grep replacement Summary: -H (ALWAYS print filename) option Message-ID: <475@mks.UUCP> Date: 15 Jun 88 04:34:10 GMT References: <7882@alice.UUCP> <2450011@hpsal2.HP.COM> <54818@sun.uucp> <8032@brl-smoke.ARPA> Organization: Mortice Kern Systems, Waterloo, Ont. Lines: 13 In article <8032@brl-smoke.ARPA>, gwyn@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 */