Re: sort 2.0a

[email protected] (Bob Proulx) Thu, 16 Jan 2003 09:56:05 -0700
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
[email protected] wrote:
> with -n, the result is incorrect.

Thanks for the report.  But I cannot recreate your problem.

> example :
> file = 1 5 3 55 11 33
> 
> sort -n file
> result :
> 1 33 3 5 11 55

Sorry, but I don't see that.

  cat > testfile <<EOF
  1
  5
  3
  55
  11
  33
  EOF

  sort -n < testfile
  1
  3
  5
  11
  33
  55

You said you were using sort 2.0a, which is very old.  You might try
updating.  The current version is in coreutils.

  http://alpha.gnu.org/gnu/coreutils/
  
Bob