GNU bug report logs -
#5944
sort with option +4nr does not work now and it used to do it some time ago
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5944 in the body.
You can then email your comments to 5944 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#5944
; Package
coreutils
.
(Wed, 14 Apr 2010 10:19:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Martinez, Abel" <Abel.Martinez <at> eu.sony.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 14 Apr 2010 10:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi CoreUtil/SORT developer team:
Long time ago I used cygwing to sort file's content by the text
available on its 4th column in reverse order (under bash) using ___$sort
+4nr file.txt____ .
I have tried now same function with the latest cygwing and coreutils
sorting package (sort.exe 19-March-2010) and with those options does not
work; It says:
$ sort +4nr ACCESS.txt
sort: open failed: +4nr: No such file or directory
(I don't have the info on what old version was working fine, sorry)
Thanks in advance for really grate product
***********************************************
Abel Martinez SONY PSE Madrid Spain
Ph: +34 91 536 57 66
mailto:abel.martinez <at> eu.sony.com
***********************************************
************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.
This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards
Information forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#5944
; Package
coreutils
.
(Wed, 14 Apr 2010 13:59:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 5944 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 04/14/2010 02:13 AM, Martinez, Abel wrote:
> Hi CoreUtil/SORT developer team:
>
> Long time ago I used cygwing to sort file's content by the text
> available on its 4th column in reverse order (under bash) using ___$sort
> +4nr file.txt____ .
>
> I have tried now same function with the latest cygwing and coreutils
> sorting package (sort.exe 19-March-2010) and with those options does not
> work; It says:
> $ sort +4nr ACCESS.txt
> sort: open failed: +4nr: No such file or directory
Not a bug, but a difference in the level of POSIX compliance. Older
cygwin defaulted to the 1992 version of POSIX, while newer cygwin
defaults to 2001. Per the NEWS file:
> A few usages still have behavior that depends on which POSIX standard is
> being conformed to, and portable applications should beware these
> problematic usages. These include:
>
> Problematic Standard-conforming replacement, depending on
> usage whether you prefer the behavior of:
> POSIX 1003.2-1992 POSIX 1003.1-2001
> sort +4 sort -k 5 sort ./+4
You can learn more about this, as well as a way to use the
_POSIX2_VERSION environment variable to select an alternate behavior, by
reading 'info coreutils standards'.
> The information contained in this message or any of its attachments may be confidential
This message has been publicly archived, rendering your disclaimer
ineffective. It is considered poor netiquette to send email to public
lists with a company disclaimer; you should consider using a personal
account that does not fill our inboxes with useless legalese.
--
Eric Blake eblake <at> redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
[signature.asc (application/pgp-signature, attachment)]
Reply sent
to
Jim Meyering <jim <at> meyering.net>
:
You have taken responsibility.
(Thu, 15 Apr 2010 10:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Martinez, Abel" <Abel.Martinez <at> eu.sony.com>
:
bug acknowledged by developer.
(Thu, 15 Apr 2010 10:25:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 5944-close <at> debbugs.gnu.org (full text, mbox):
Eric Blake wrote:
> On 04/14/2010 02:13 AM, Martinez, Abel wrote:
>> Hi CoreUtil/SORT developer team:
>>
>> Long time ago I used cygwing to sort file's content by the text
>> available on its 4th column in reverse order (under bash) using ___$sort
>> +4nr file.txt____ .
>>
>> I have tried now same function with the latest cygwing and coreutils
>> sorting package (sort.exe 19-March-2010) and with those options does not
>> work; It says:
>> $ sort +4nr ACCESS.txt
>> sort: open failed: +4nr: No such file or directory
>
> Not a bug, but a difference in the level of POSIX compliance. Older
> cygwin defaulted to the 1992 version of POSIX, while newer cygwin
> defaults to 2001. Per the NEWS file:
Thanks for replying, Eric.
With this message, I'm inserting "-close" into the default Cc'd address
of 5944 <at> debbugs.gnu.org, making it "5944-close <at> debbugs.gnu.org".
That moves the thread in our bug tracker,
http://debbugs.gnu.org/coreutils
from "Outstanding Issues" to the "Resolved Bugs" category:
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 13 May 2010 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.