guy@auspex.auspex.com (Guy Harris) (06/29/89)
>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?
wht@tridom.uucp (Warren Tucker) (06/29/89)
In article <1861@auspex.auspex.com>, guy@auspex.auspex.com (Guy Harris) writes: > Is there something that "cgname" does that just using "-l" doesn't? yes, it does the following to commands simultaneously: fgrep BLAH * fgrep -l BLAH * ---but--- that's beside the point. If I had known about -l, the program would never have been written! Moral: Warren should RTFM even on "simple" commands :-). -- ------------------------------------------------------------------- Warren Tucker, Tridom Corporation ...!gatech!emory!tridom!wht Sforzando (It., sfohr-tsahn'-doh). A direction to perform the tone or chord with special stress, or marked and sudden emphasis.