[geeks] Programming question.

Big Endian bigendian at mac.com
Mon Apr 1 20:29:43 CST 2002


>On Mon, Apr 01, 2002 at 09:00:10PM -0500, Brian Hechinger wrote:
>>  for blah in `cat fileA;do grep -v $blah fileB;done
>>  for blah in `cat fileB;do grep -v $blah fileA;done
>
>Yes, but grep -v gives you EVERYTHING in the file that doesent
>match $blah; so you're going to get multiple copies of stuff in fileB
>from the output of:

uniq?


daniel
-- 
-----------------------------------------------------------------
"Fragile. Do not drop." -- Posted on a Boeing 757.



More information about the geeks mailing list