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
>
>
> *
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
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
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
-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
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.
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