[olug] sort -u vs uniq

Noel Leistad noel at metc.net
Mon Mar 13 11:03:51 CDT 2017


Thanks to all. I will follow up on the suggestions.

As an example of what I saw, in case it clears the waters more than 
stirring up additional mud....

each list with appended method, first 2 examples correct followed by 
parts of the combined sort where things go wonky. Skilled programmer I'm 
not, but I can |  and I can vim(a little).

2.134.91.202-sortnu
2.134.91.202-uniq

2.191.35.42-sortnu
2.191.35.42-uniq

5.196.0.42-uniq
5.196.19.203-sortnu
5.196.19.203-uniq

14.181.168.200-sortnu
14.181.168.200-uniq
14.181.247.139-uniq

14.190.39.205-sortnu
14.190.39.205-uniq
14.190.71.166-uniq

37.187.50.163-sortnu
37.187.50.163-uniq
37.187.84.50-uniq

41.102.133.251-uniq
41.102.227.220-sortnu
41.102.227.220-uniq






More information about the OLUG mailing list