bug#35636: bug report sort command

2019-05-08 Thread Eric Blake
tag 35636 notabug thanks On 5/8/19 3:35 AM, Michele Liberi wrote: > I verified the following bug is there in: > >- sort (GNU coreutils) 8.21 >- sort (GNU coreutils) 8.22 >- sort (GNU coreutils) 8.23 > > *Input file:* > # cat sort.in > 1|a|x > 2|b|x > 3|aa|x > 4|bb|x > 5|c|x > > > *

bug#35636: bug report sort command

2019-05-08 Thread Michele Liberi
I verified the following bug is there in: - sort (GNU coreutils) 8.21 - sort (GNU coreutils) 8.22 - sort (GNU coreutils) 8.23 *Input file:* # cat sort.in 1|a|x 2|b|x 3|aa|x 4|bb|x 5|c|x *shell command and output:* # sort -t'|' -k2

Re: bug report, sort command

2007-11-05 Thread Bob Proulx
Peter Alefounder wrote: > > Did setting LC_ALL=C resolve the problem? Or did it not? > > It did not; export LC_ALL=POSIX as mentioned in the FAQ did. Maybe > "export LC_ALL=POSIX" should be added to the man page? The locales C and POSIX should be identical. If they are not then that would indi

Re: bug report, sort command

2007-11-05 Thread Peter Alefounder
Bob, > Peter Alefounder wrote: > > The sort command ignores the characters # & % = _ and, for all I know, > > other characters as well. Looks like it is acting as if I had used > > the -d option, which I had not. > > That does sound like it matches a common pattern. Please see this FAQ > entry fo

Re: bug report, sort command

2007-11-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bob Proulx on 11/2/2007 2:59 PM: >> I set LC_ALL=C as suggested in the man page. The sort command >> under my previous system, SuSE 9.1, worked as I would expect. > > Did setting LC_ALL=C resolve the problem? Or did it not? And did you

Re: bug report, sort command

2007-11-02 Thread Bob Proulx
Peter Alefounder wrote: > The sort command ignores the characters # & % = _ and, for all I know, > other characters as well. Looks like it is acting as if I had used > the -d option, which I had not. That does sound like it matches a common pattern. Please see this FAQ entry for more information.

bug report, sort command

2007-11-02 Thread Peter Alefounder
I have recently installed Debian 4.0r1 with sort version 5.97. The sort command ignores the characters # & % = _ and, for all I know, other characters as well. Looks like it is acting as if I had used the -d option, which I had not. I set LC_ALL=C as suggested in the man page. The sort command un