Xref: utzoo alt.sources:806 alt.sources.d:1 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: alt.sources,alt.sources.d Subject: Re: cgname - collect file names from {e,f,}grep output Keywords: egrep fgrep grep Message-ID: <1861@auspex.auspex.com> Date: 28 Jun 89 22:40:44 GMT References: <130@tridom.uucp> <5319@pt.cs.cmu.edu> Reply-To: guy@auspex.auspex.com (Guy Harris) Followup-To: alt.sources.d Organization: Auspex Systems, Santa Clara Lines: 8 >At least on BSD Unix, the -l flag on {,e,f}grep does the same thing except >for sorting the output if the file list given to grep is not alphabetical. I think it does so on every version of UNIX since V7; if the file list is constructed from a "*" or "?" pattern, the shells with which I'm familiar will sort it. Is there something that "cgname" does that just using "-l" doesn't?