From unknown Sat Aug 16 18:39:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7525: bug in sort command Resent-From: "Kielbasiewicz, Peter" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 01 Dec 2010 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7525 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 7525@debbugs.gnu.org X-Debbugs-Original-To: "bug-coreutils@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.12912108519003 (code B ref -1); Wed, 01 Dec 2010 13:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Dec 2010 13:40:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNmvS-0002LA-GZ for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:40:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNmtx-0002IZ-EJ for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:39:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNmzP-0004e5-5w for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:44:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_40,HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RECEIVED_FROM_WINDOWS_HOST autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:41342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNmzO-0004e0-T8 for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:44:55 -0500 Received: from [140.186.70.92] (port=55803 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNmzM-0005Mw-TL for bug-coreutils@gnu.org; Wed, 01 Dec 2010 08:44:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNmzK-0004ci-L9 for bug-coreutils@gnu.org; Wed, 01 Dec 2010 08:44:52 -0500 Received: from am1ehsobe002.messaging.microsoft.com ([213.199.154.205]:10333 helo=AM1EHSOBE002.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNmzK-0004c8-Ds for bug-coreutils@gnu.org; Wed, 01 Dec 2010 08:44:50 -0500 Received: from mail16-am1-R.bigfish.com (10.3.201.253) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.8; Wed, 1 Dec 2010 13:44:47 +0000 Received: from mail16-am1 (localhost.localdomain [127.0.0.1]) by mail16-am1-R.bigfish.com (Postfix) with ESMTP id 6B6D16401A5 for ; Wed, 1 Dec 2010 13:44:47 +0000 (UTC) X-SpamScore: -21 X-BigFish: VPS-21(zz15d6O9251J1be0L217bPzz1202hzz8275bh8275dhz2dh2a8h691h668h67dh61h) X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:NLHILEXE04.connect1.local; RD:smtpx.philips.com; EFVD:NLI Received: from mail16-am1 (localhost.localdomain [127.0.0.1]) by mail16-am1 (MessageSwitch) id 1291211086928915_26381; Wed, 1 Dec 2010 13:44:46 +0000 (UTC) Received: from AM1EHSMHS007.bigfish.com (unknown [10.3.201.253]) by mail16-am1.bigfish.com (Postfix) with ESMTP id D42B2B48052 for ; Wed, 1 Dec 2010 13:44:46 +0000 (UTC) Received: from NLHILEXE04.connect1.local (168.87.56.20) by AM1EHSMHS007.bigfish.com (10.3.207.107) with Microsoft SMTP Server (TLS) id 14.1.225.8; Wed, 1 Dec 2010 13:44:44 +0000 Received: from NLHILEXH03.connect1.local (172.16.153.78) by connect1.philips.com (172.16.156.160) with Microsoft SMTP Server (TLS) id 8.3.106.1; Wed, 1 Dec 2010 14:44:38 +0100 Received: from NLCLUEXM10.connect1.local ([172.16.153.36]) by NLHILEXH03.connect1.local ([172.16.153.78]) with mapi; Wed, 1 Dec 2010 14:44:43 +0100 From: "Kielbasiewicz, Peter" Date: Wed, 1 Dec 2010 14:44:42 +0100 Thread-Topic: bug in sort command Thread-Index: AcuRXegFu1bGkSqvRbmss2vwX0EMKg== Message-ID: <08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948@NLCLUEXM10.connect1.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_" MIME-Version: 1.0 X-OriginatorOrg: philips.com X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Wed, 01 Dec 2010 08:40:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) --_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, there seems to be a bug in Ubuntu's 10.10 sort command. I suspect that it defaults to the -f option now which I think is wrong. e.g. { echo a echo j echo A echo i echo AA echo B } | sort produces a A AA B i j instead of A AA B a i j -- With kind regards, Peter ________________________________ The information contained in this message may be confidential and legally p= rotected under applicable law. The message is intended solely for the addre= ssee(s). If you are not the intended recipient, you are hereby notified tha= t any use, forwarding, dissemination, or reproduction of this message is st= rictly prohibited and may be unlawful. If you are not the intended recipien= t, please contact the sender by return e-mail and destroy all copies of the= original message. --_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

there seems to be a bug in Ubuntu’s 10.10 = ; sort command.

I suspect that it defaults to the  -f option&nb= sp; now which I think is wrong.

e.g.

{  echo a

   echo j

   echo A

   echo i

   echo AA

   echo B

} | sort

 

produces

a

A

AA

B

i

j

 

instead of

A

AA

B

a

i

j

--

With kind regards,

 

Peter

 



The information contained in= this message may be confidential and legally protected under applicable la= w. The message is intended solely for the addressee(s). If you are not the = intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message i= s strictly prohibited and may be unlawful. If you are not the intended reci= pient, please contact the sender by return e-mail and destroy all copies of= the original message.
--_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_-- From unknown Sat Aug 16 18:39:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7525: bug in sort command Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 01 Dec 2010 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7525 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: "Kielbasiewicz, Peter" Cc: 7525@debbugs.gnu.org Received: via spool by 7525-submit@debbugs.gnu.org id=B7525.129121615616868 (code B ref 7525); Wed, 01 Dec 2010 15:10:02 +0000 Received: (at 7525) by debbugs.gnu.org; 1 Dec 2010 15:09:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNoJ2-0004O0-Hn for submit@debbugs.gnu.org; Wed, 01 Dec 2010 10:09:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNoJ0-0004Ni-7C for 7525@debbugs.gnu.org; Wed, 01 Dec 2010 10:09:14 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB1FEqNL020597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 1 Dec 2010 10:14:53 -0500 Received: from [10.3.113.21] (ovpn-113-21.phx2.redhat.com [10.3.113.21]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB1FEqBF010841; Wed, 1 Dec 2010 10:14:52 -0500 Message-ID: <4CF6666C.7080900@redhat.com> Date: Wed, 01 Dec 2010 08:14:52 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6 MIME-Version: 1.0 References: <08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948@NLCLUEXM10.connect1.local> In-Reply-To: <08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948@NLCLUEXM10.connect1.local> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF33CA1A6D98EAC4DD67D3BA4" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Spam-Score: -10.2 (----------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF33CA1A6D98EAC4DD67D3BA4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/01/2010 06:44 AM, Kielbasiewicz, Peter wrote: > Hello, > there seems to be a bug in Ubuntu's 10.10 sort command. > I suspect that it defaults to the -f option now which I think is wron= g. Thanks for the report. However, this is not a bug in sort, but a problem of your current choice of locale. It is also a FAQ: http://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-o= rder_0021 > e.g. > { echo a > echo j > echo A > echo i > echo AA > echo B > } | sort Running with the recently introduced 'sort --debug' option sheds some light on your situation: $ printf 'a\nj\nA\ni\nAA\nB\n' | src/sort --debug src/sort: using `en_US.UTF-8' sorting rules a _ A _ AA __ B _ i _ j _ eblake@office (0 0) ~/coreutils $ printf 'a\nj\nA\ni\nAA\nB\n' | LC_ALL=3DC src/sort --debug src/sort: using simple byte comparison A _ AA __ B _ a _ i _ j _ --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigF33CA1A6D98EAC4DD67D3BA4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJM9mZsAAoJEKeha0olJ0NqvusIAINE9tcmq/E4lsPuoWdtIqHW x65+vN3VoP5l0A/dcbcOa5C9vi6LjiFu+8Pd9plYswctqi1OwmKzV1c7dOZyYchA zZsHU7mulvPsFHyykTOn0hP6mPqO9yf7ZC6m5RuIRgDEGRGfbfid2ielet40D8Tb m5FUKdAU2hbHpp4sUAJDvkSwkDZyCnHuYO/fhKfy6xzzVUqTwl490nWLbu9ZlVPU 11K4VRX6Frgn3dKKCIaacLSe10kPgJAeNZlRpNwvu97hVLtyaiVuqa1WM7T/wIYQ K72QutvhazA6K0eHpIkIUjRoOwKmrSiJQLxrGKSTUwarNjh+oLLVG68CSfIo3UE= =8t2k -----END PGP SIGNATURE----- --------------enigF33CA1A6D98EAC4DD67D3BA4-- From unknown Sat Aug 16 18:39:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Kielbasiewicz, Peter" Subject: bug#7525: closed (Re: bug#7525: bug in sort command) Message-ID: References: <4CF67D94.8060306@cs.ucla.edu> <08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948@NLCLUEXM10.connect1.local> X-Gnu-PR-Message: they-closed 7525 X-Gnu-PR-Package: coreutils Reply-To: 7525@debbugs.gnu.org Date: Wed, 01 Dec 2010 16:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1291222142-28321-1" This is a multi-part message in MIME format... ------------=_1291222142-28321-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7525: bug in sort command which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7525@debbugs.gnu.org. --=20 7525: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7525 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1291222142-28321-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7525-done) by debbugs.gnu.org; 1 Dec 2010 16:48:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNpqj-0007Lf-9z for submit@debbugs.gnu.org; Wed, 01 Dec 2010 11:48:09 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNpqh-0007LD-4B for 7525-done@debbugs.gnu.org; Wed, 01 Dec 2010 11:48:08 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id F3CFF39E80E0; Wed, 1 Dec 2010 08:53:45 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cSbwWo0w57Ju; Wed, 1 Dec 2010 08:53:45 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9BF6C39E80B1; Wed, 1 Dec 2010 08:53:45 -0800 (PST) Message-ID: <4CF67D94.8060306@cs.ucla.edu> Date: Wed, 01 Dec 2010 08:53:40 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: "Kielbasiewicz, Peter" Subject: Re: bug#7525: bug in sort command References: <08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948@NLCLUEXM10.connect1.local> In-Reply-To: <08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948@NLCLUEXM10.connect1.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 7525-done Cc: 7525-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) "sort --help" says: *** WARNING *** The locale specified by the environment affects sort order. Set LC_ALL=C to get the traditional sort order that uses native byte values. and this most likely explains your situation. ------------=_1291222142-28321-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Dec 2010 13:40:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNmvS-0002LA-GZ for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:40:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNmtx-0002IZ-EJ for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:39:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNmzP-0004e5-5w for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:44:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_40,HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RECEIVED_FROM_WINDOWS_HOST autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:41342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNmzO-0004e0-T8 for submit@debbugs.gnu.org; Wed, 01 Dec 2010 08:44:55 -0500 Received: from [140.186.70.92] (port=55803 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNmzM-0005Mw-TL for bug-coreutils@gnu.org; Wed, 01 Dec 2010 08:44:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNmzK-0004ci-L9 for bug-coreutils@gnu.org; Wed, 01 Dec 2010 08:44:52 -0500 Received: from am1ehsobe002.messaging.microsoft.com ([213.199.154.205]:10333 helo=AM1EHSOBE002.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNmzK-0004c8-Ds for bug-coreutils@gnu.org; Wed, 01 Dec 2010 08:44:50 -0500 Received: from mail16-am1-R.bigfish.com (10.3.201.253) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.8; Wed, 1 Dec 2010 13:44:47 +0000 Received: from mail16-am1 (localhost.localdomain [127.0.0.1]) by mail16-am1-R.bigfish.com (Postfix) with ESMTP id 6B6D16401A5 for ; Wed, 1 Dec 2010 13:44:47 +0000 (UTC) X-SpamScore: -21 X-BigFish: VPS-21(zz15d6O9251J1be0L217bPzz1202hzz8275bh8275dhz2dh2a8h691h668h67dh61h) X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:NLHILEXE04.connect1.local; RD:smtpx.philips.com; EFVD:NLI Received: from mail16-am1 (localhost.localdomain [127.0.0.1]) by mail16-am1 (MessageSwitch) id 1291211086928915_26381; Wed, 1 Dec 2010 13:44:46 +0000 (UTC) Received: from AM1EHSMHS007.bigfish.com (unknown [10.3.201.253]) by mail16-am1.bigfish.com (Postfix) with ESMTP id D42B2B48052 for ; Wed, 1 Dec 2010 13:44:46 +0000 (UTC) Received: from NLHILEXE04.connect1.local (168.87.56.20) by AM1EHSMHS007.bigfish.com (10.3.207.107) with Microsoft SMTP Server (TLS) id 14.1.225.8; Wed, 1 Dec 2010 13:44:44 +0000 Received: from NLHILEXH03.connect1.local (172.16.153.78) by connect1.philips.com (172.16.156.160) with Microsoft SMTP Server (TLS) id 8.3.106.1; Wed, 1 Dec 2010 14:44:38 +0100 Received: from NLCLUEXM10.connect1.local ([172.16.153.36]) by NLHILEXH03.connect1.local ([172.16.153.78]) with mapi; Wed, 1 Dec 2010 14:44:43 +0100 From: "Kielbasiewicz, Peter" To: "bug-coreutils@gnu.org" Date: Wed, 1 Dec 2010 14:44:42 +0100 Subject: bug in sort command Thread-Topic: bug in sort command Thread-Index: AcuRXegFu1bGkSqvRbmss2vwX0EMKg== Message-ID: <08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948@NLCLUEXM10.connect1.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_" MIME-Version: 1.0 X-OriginatorOrg: philips.com X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 01 Dec 2010 08:40:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) --_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, there seems to be a bug in Ubuntu's 10.10 sort command. I suspect that it defaults to the -f option now which I think is wrong. e.g. { echo a echo j echo A echo i echo AA echo B } | sort produces a A AA B i j instead of A AA B a i j -- With kind regards, Peter ________________________________ The information contained in this message may be confidential and legally p= rotected under applicable law. The message is intended solely for the addre= ssee(s). If you are not the intended recipient, you are hereby notified tha= t any use, forwarding, dissemination, or reproduction of this message is st= rictly prohibited and may be unlawful. If you are not the intended recipien= t, please contact the sender by return e-mail and destroy all copies of the= original message. --_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

there seems to be a bug in Ubuntu’s 10.10 = ; sort command.

I suspect that it defaults to the  -f option&nb= sp; now which I think is wrong.

e.g.

{  echo a

   echo j

   echo A

   echo i

   echo AA

   echo B

} | sort

 

produces

a

A

AA

B

i

j

 

instead of

A

AA

B

a

i

j

--

With kind regards,

 

Peter

 



The information contained in= this message may be confidential and legally protected under applicable la= w. The message is intended solely for the addressee(s). If you are not the = intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message i= s strictly prohibited and may be unlawful. If you are not the intended reci= pient, please contact the sender by return e-mail and destroy all copies of= the original message.
--_000_08037F11EBCBB845B82BBFF9B1D05CD5B2B7E9A948NLCLUEXM10con_-- ------------=_1291222142-28321-1--