Hi, maybe this it a bug?
Here i have a file, with two columns with diffrent values, now i want to
use sort them with columns, and with number.
See the file how it looks like.
[EMAIL PROTECTED] ~]$ cat file
1 2
1 2
3 5
3 5
3 5
3 5
3 5
2 3
2 3
2 3
2 3
2 3
2 3
4 5
1 1
1 1
0 0
0 0
0 0
0 0
0 0
0 0
0 0
---
[EMAIL PROTECTED] ~]$ sort --version
sort (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.
-----
Now i use sort.
[EMAIL PROTECTED] ~]$ cat file|sort -nr +2
sort: open failed: +2: No such file or directory
*But when i use an old sort version, it works!
[EMAIL PROTECTED] cat file|sort_1 -nr +2
4 5
3 5
3 5
3 5
3 5
3 5
2 3
2 3
2 3
2 3
2 3
2 3
1 2
1 2
1 1
1 1
0 0
0 0
0 0
0 0
0 0
0 0
0 0
---
[EMAIL PROTECTED] ~]$ sort_1 --version
sort (coreutils) 4.5.3
Written by Mike Haertel and Paul Eggert.
Copyright (C) 2002 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.
Best Regards
Fredrik Andreasson
--
Fredrik Andreasson Address: IT-stöd,Uppsala universitet
Phone: +46 18 4717745 Box 887
Cellphone +46 70 1679086 SE-751 08 UPPSALA
mailto:[EMAIL PROTECTED] Sweden
http://www.its.uu.se
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils