> It seems that non-printing chars, e.g. a space at the end of the word, are
> included in the comparison for dups. Could there be an option that
> compares printing chars only?
"sort -k1,1 -u " limits the comparison to field #1 of each line.
Evan Hunt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Lyon on 2/26/2007 5:20 AM:
>
> Hello
>
> Re running sort on list of words
>
> The sort option -u, without -c, should output only the first of an equal
> run, but it outputs more than 1 equal entries.
You'll need to post an actual test
Hello
Re running sort on list of words
The sort option -u, without -c, should output only the first of an equal
run, but it outputs more than 1 equal entries.
It seems that non-printing chars, e.g. a space at the end of the word, are
included in the comparison for dups. Could there be an o