Geoff, No I didn't, I didn't know this command. I'll give it a try tomorrow. One mistake in my post: I wrote back slashes instead of slashes. Thanks! Charles Geoff Gigg wrote:
Charles, Would it be easier to use the "comm" command? comm -23 file1.txt file2.txt will print all the lines of file1.txt except those that are common to file2.txt, assuming sorted. Unless I've misinterpreted what you are doing. Regards, Geoff Gigg