[Gllug] Comm

Steve Cobrin cobrin at highbury.net
Tue Feb 19 02:33:47 UTC 2002


They were sorted in numeric order.

meanwhile I've re-implemented the test with
	diff file1 file2 | grep '^#' | sed -e 's/^< //'

I'll try and ask on the gnu mailing list. I even checked the online 
docs at http://www.opengroup.org/online-pubs which gives a slightly more 
complete man page for "comm", and in theory "comm -23 file1 file2" should 
behave as the above diff version. <sigh>

Anyway I now have a more serious problem to deal with :-(

Cheers

	-- Steve

On Monday 18 February 2002 23:23, Harry wrote:
> ----- Original Message -----
> From: <tet at accucard.com>
>
> > Won't work with unsorted input files, but you've already said that yours
> > are sorted.
>
> Steve
> Would I be correct in saying that the files where not sorted. At least not
> with sort.
>
> Harry

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list