cgname - collect file names from {e,f,}grep output

Guy Harris guy at auspex.auspex.com
Thu Jun 29 08:40:44 AEST 1989


>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?



More information about the Alt.sources mailing list