I did a little more work on my modified uniq.c and verified that it would pass all diagnostics. It allows records 2->4 or the last in a run to be emitted (instead of just the first or all in a run of duplicates.) It's attached.
Unfortunately when I went to build textutils on Solaris 2.8 it failed. I did; (unpack distribuiton) ./config ./make and it threw all sorts of errors about needing stpcpy and error in cat.c. Presumably the configure file isn't quite right if it's not sorting that out. But when I added those (manually) to the list in the makefile so that they'd end up in libtu.a then cat.c complained that it couldn't resolve symbol strerror_r. Surely somebody has seen this before, what's the trick to compile this on Solaris? I was using gcc 3.0.3. Thanks, David Mathog [EMAIL PROTECTED] Manager, Sequence Analysis Facility, Biology Division, Caltech
uniq.c
Description: Binary data