[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems with sort -nu
From: |
IceCube |
Subject: |
problems with sort -nu |
Date: |
8 Feb 2002 01:13:53 -0800 |
Hi there
I encountered a problem while sorting a table of ip-addresses.
"cat file.txt | sort -un" cuts some valid lines
"cat file.txt | sort -u | sort -n" works properly
For example
file.txt:
200.1.13
200.1.26
sort -nu file.txt:
200.1.13
Does anybody know why 200.1.26 is omitted?
Thanks in advance ...
Tobias Gerndt
BTW I'm using SuSE Linux V7.3 with Kernel V2.2.14 and Bash V2.03.0(1).
- problems with sort -nu,
IceCube <=