[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-textutils] Bug in `sort -n`
From: |
jmv16 |
Subject: |
[Bug-textutils] Bug in `sort -n` |
Date: |
Tue, 19 Sep 2000 15:39:27 -0400 (EDT) |
This pretty much speaks for itself. I don't know what it says, though.
> uname -a
Linux marduk 2.2.16 #2 Tue Jul 25 16:41:24 EDT 2000 i686 unknown
>
> which sort
/bin/sort
>
> sort --version
sort (GNU textutils) 2.0a
Written by Mike Haertel.
Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> sort -n << EOF
? 1
? 2
? 3
? 12
? 9
? EOF
9
2
1
12
3
> echo "1\n2\n3\n12\n9" | sort -n
9
2
1
12
3
> echo " 1 \n 2 \n 3 \n 12 \n 9 " | sort -n
1
2
3
9
12
--
Jeffrey M. Vinocur * address@hidden
http://www.people.cornell.edu/pages/jmv16/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-textutils] Bug in `sort -n`,
jmv16 <=