From unknown Tue Jun 17 03:40:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48070 <48070@debbugs.gnu.org> To: bug#48070 <48070@debbugs.gnu.org> Subject: Status: sort.exe cannot do ascii ordering but help says it can. Reply-To: bug#48070 <48070@debbugs.gnu.org> Date: Tue, 17 Jun 2025 10:40:22 +0000 retitle 48070 sort.exe cannot do ascii ordering but help says it can. reassign 48070 coreutils submitter 48070 "Peter SMITH1 (contractor)" severity 48070 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 14:00:37 2021 Received: (at submit) by debbugs.gnu.org; 27 Apr 2021 18:00:37 +0000 Received: from localhost ([127.0.0.1]:50858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbS0i-0003X9-TK for submit@debbugs.gnu.org; Tue, 27 Apr 2021 14:00:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:35884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbRvB-0003NS-DJ for submit@debbugs.gnu.org; Tue, 27 Apr 2021 13:54:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbRv9-00083e-RQ for bug-coreutils@gnu.org; Tue, 27 Apr 2021 13:54:53 -0400 Received: from mail-eopbgr150071.outbound.protection.outlook.com ([40.107.15.71]:35311 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbRv5-0005bR-9Y for bug-coreutils@gnu.org; Tue, 27 Apr 2021 13:54:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TVVyMqnhmJ1SERx7bMVZFZn1GcmAjYA5WybMPZ36Lx0Aj00v1SUC/1GyZcdXDrQgBOVZK9B7d1Ivk30E+rdGz9A7xZRLAu4imFYHQCERPNgkX0D0eU8f50OC6mkxEHlNMzl6gWDxAebNJ4A+1sLYFJ8nKrChkldOdC4kZVShDrzKZE4O8WvaPAaagYTHrpwP3+Q0vmfeE0j2OcbDcNCItNrS5EXiKGUW8oYTANakf/oEYKqZ5I4le+U28PqG/PhszqhTrwz5moT67eTJ7gBhHFiKbeoRBrJR8cgsDCAaX4c9Afnm/VxzKZd7gJl5okcFvYc5rqYETr8U1oG808bdoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aiqFDG3WLJgL8JDj8WDsCxxFC60/33YHy3VlLz4Mca8=; b=Rluiz7dsjPGPsxU7pkJPSg9UzdpPpNwQ2QtMPAOwSGOCj8NmWFiPQTwA6Nv0eoIiO5Vz5okSCLXotlNU32uoYxtOr0gbdI1QNR3lVFOhQW3JHUh7jGX9Vlr1GMQS8LqFhlsj3SG6RVa9G9nR6wP71LdKBWIadebRvB1ETCVOcAA5qVqXdLkNSv/JuCKPr8ZrX2apYEDip7zsDteQf1zisL8GkkOJ1pd9JKh4NdawkPwOqasPuTd/mRy89nFNg7S2fsll34hxa9h5/wyQB027KNXyTUxmGOadkIR/kH12y3PnqLJYg2ihgY7ZPTQerpKug4gxBi2HcBeGHJpKIufBOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amadeus.com; dmarc=pass action=none header.from=amadeus.com; dkim=pass header.d=amadeus.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amadeus.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aiqFDG3WLJgL8JDj8WDsCxxFC60/33YHy3VlLz4Mca8=; b=Hn98PPTmeP3visaUevw3+heUEEquwSLj3KNzH0y+j9GSyrEbTI40t+4231PRlXXQ6kj7+DL8WMoiMBAU/NjlKzCMNewAA6mj9zqRvjjXFjYXbV3xffQ/1uh3Y+DaqHcf/q/Z4itLyKSR6caOH6/PBwSNQlpXu2W6WJjs2APcOO/w+zAyLcmF8kRUePiMA6dQ7r3dEHIg9DGrW1vv6AWYeSpgeN2Dxhx1FxjWUnepfmCPCY/ZrGTbq7MHL5+6AVClIqUoAIYDfm+/XOjx3C36fuqPaATXv/1lRkwqai0ur6OEWv0ZNfblhqCGf0JQYzG5wFYQV0lQwTslx3KUMuRLjA== Received: from PA4PR10MB4464.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:106::6) by PR3PR10MB3852.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:40::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Tue, 27 Apr 2021 17:39:42 +0000 Received: from PA4PR10MB4464.EURPRD10.PROD.OUTLOOK.COM ([fe80::2d0f:c3ac:b272:cc1b]) by PA4PR10MB4464.EURPRD10.PROD.OUTLOOK.COM ([fe80::2d0f:c3ac:b272:cc1b%7]) with mapi id 15.20.4065.027; Tue, 27 Apr 2021 17:39:42 +0000 From: "Peter SMITH1 (contractor)" To: "bug-coreutils@gnu.org" Subject: sort.exe cannot do ascii ordering but help says it can. Thread-Topic: sort.exe cannot do ascii ordering but help says it can. Thread-Index: Adc7jD2pCrMHlYEST5CJcEDL9B4+IQ== Date: Tue, 27 Apr 2021 17:39:42 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_Enabled=True; MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_SiteId=b3f4f7c2-72ce-4192-aba4-d6c7719b5766; MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_Owner=peter.smith1@amadeus.com; MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_SetDate=2021-04-27T17:39:41.1862671Z; MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_Name=Restricted; MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_Application=Microsoft Azure Information Protection; MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_ActionId=53cf8f95-f69a-43ca-aa53-7f62beded782; MSIP_Label_d2db9220-a04a-4f06-aab9-80cbe5287fb3_Extended_MSFT_Method=Automatic authentication-results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=amadeus.com; x-originating-ip: [86.188.163.42] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61e6e909-154e-4a2e-c645-08d909a370b9 x-ms-traffictypediagnostic: PR3PR10MB3852: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:741; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1EoStJG9yCsMjN8GqWvai2fvMzKbJLObFR00cjkUXhHKnvAc7fzgZPkQDWARC+ogsNifLkkQHM3byadX41iqaONtVueiXaDMKAKnT4b4CpVh5l/YDfI7W7/AkYDlek6ZdW26B7/8rus7blddh0GRloPeSKl6vqkGca62vC0w3qOrtdSSeomhuG8EPQaevvG1mBx49YP0MH4MxcXETS1ef8c9kAA3ZCVhBdLu/x5MMNqWMiwNKt3jzPjABa5vqb6Sc+RRPQim1nrDeBPoYU5kaXJL+hndSQtzFDFHxaFPr3h34J8foORyTw+pjLmUqF+lfmjYazWJYO3ACF9YZMLhkKjCBOIo87nsPq1KF3NBfySmX3u7rkMmZLIxmK4uxwe3Ob8Tg5iVn1g63kWW5rWGPB/UHDk2940x6s0x+AyPO2NN/6enKcMPt5+/m0CoiTCu9odB2PqfTGKeA4x1EFfsHNw6UThhuKJXXJ1SW39g7GVTG326q4yDtiITv70eWKtqeJh1+WreaXiCE2Ekc0T3+JwMNWWucE3he7l2AGv6CImcXMeNp9DkiQbaCOTUbfIrnUtxM/ycBa3+3+xA6rGzipdKCopsd/rGOR3j3R3VgqrShlahyCEza496wu2PLnzj1NM7rC1pgwkLHVfVFjRFOg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PA4PR10MB4464.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(136003)(396003)(39860400002)(346002)(9686003)(33656002)(8936002)(55016002)(2906002)(66476007)(83380400001)(76116006)(38100700002)(316002)(26005)(122000001)(186003)(6916009)(8676002)(71200400001)(66446008)(5660300002)(64756008)(52536014)(7696005)(86362001)(66556008)(66946007)(6506007)(508600001)(2004002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?qrCy4HJ2Zikc/O18f/ximZaYd+MDavh/jd4ypZCOOS0b8ZJFZmh9koGWe1lF?= =?us-ascii?Q?LSn9vwJW/p6xj7NSwapI7JH2d7kiFhPkWWF0EznuleQyJbkH8dp8yNkp/yLY?= =?us-ascii?Q?xVcBRMMPMa13IjitYpITjGmnTljQi8m1A4xjijF7pW/yuzVQuPFlBdiVSKvc?= =?us-ascii?Q?odGJRttV7INSHrfO1DSKOpPJ4eVDNohX8QtdQXeGSv4R//KiPz7GAl5SosW4?= =?us-ascii?Q?gv2/pOFm05lE6wcfCMSQ519QYvGX855gF2ILJMJZXnWrI/DRSOAVQojE6U5n?= =?us-ascii?Q?SdAI6jC199zbr+339PUFwxBhLri4ctx/F4m8rzjfkEwq/edwNGs9NZaezJ/O?= =?us-ascii?Q?dM5NH2YSSFZcfe3jQtW4PtrU94fYd8qE6fxblidV6OM+fKfM4ph0+PnSQJlR?= =?us-ascii?Q?4RntliwSJvqPZ2sBDTE2xDtOPtlgOdaNOW9mggZ+JsRmxHxFUpm/KCdbxeWw?= =?us-ascii?Q?/Ek6PW2yX4aWGTMNtj8Zy7u6ZHzMujcLGedAop8VoEXs4wVt0vv6JArwlewr?= =?us-ascii?Q?PE9wuKx7J4SVSntA8e4g+FD7uB8kJ3+7IuyIdXi7x/bFGV+e5w7y8BY2D37T?= =?us-ascii?Q?7MFaFHNFA7Q+mqLqyAh7tOm8wkKXQg0SqUW7MJlMdhgahvpRLP8Ng2MP4mni?= =?us-ascii?Q?Hen5xkqHlHywvclDrGLGmrUqV10cgFq0USetachjJGBwqPcjmTCK5SiM/+up?= =?us-ascii?Q?QjvMkRSPb2ALdXweJY1VpZLPWizVUCojFF+oLzKQr/rip8iVeZN+59Hz+jt4?= =?us-ascii?Q?rb5utXhIjbhRgMdLNu2nKemXGUOi5uKjgSvZJepDWnaVB1oSuYKo4BnAxTHV?= =?us-ascii?Q?Iiegciu8xU1bHMjjCX0+oOcKhCQhAi3qvNPJgTGWsGzi9xtyUQ4RkSvdU7IL?= =?us-ascii?Q?7c6SakJxiEy4PfN2iE33qSBL7m87ZaKr/ky7FQGnD5oreOMT4FxTHAwLpZbP?= =?us-ascii?Q?NQWkIArojx3jHmEm38uOPV46jDddn2oE3xnhXa1QpqPexp/RF9pnCwh7Bg9q?= =?us-ascii?Q?LIJuPFQzJPYOmux9tdwudLjJ7UPX9Jx75f7MIphGlCgLcFH9u6tWgAS6luh9?= =?us-ascii?Q?0FqToH2fZVWwKuZJfKDlIUzQj9g2/ql9/ckXpB9UCPhxRKV+IRoTfW55IXDj?= =?us-ascii?Q?kOizj2ZXHllH6bs02drd9HqDIKymS3yZEHzccLYLT5nS+sGpALminLXAO2gf?= =?us-ascii?Q?j/El+xAJai0tv5fmEzYnOgFc2IqAaLRCQiw2NQ4Bwc/3vlOlYTUXRVD1MlLC?= =?us-ascii?Q?fhzcu6MMMOeejejoX6WAmH1aduhBLPBM4/L5Tsj4ILl9JgBuNG8hujRI1kv0?= =?us-ascii?Q?uXk=3D?= x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_PA4PR10MB4464C3FE1C0FA6F4074A6927DD419PA4PR10MB4464EURP_" MIME-Version: 1.0 X-OriginatorOrg: amadeus.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB4464.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 61e6e909-154e-4a2e-c645-08d909a370b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2021 17:39:42.3495 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b3f4f7c2-72ce-4192-aba4-d6c7719b5766 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eP1sC/Svwi6Qwr2K0V9ReibwxHMGKE4+B3JkXVpZH8R/sIP0TYJDdIFm3SMw65wrL74M90tSOZY3InnELGSBZPCjgsD5nCSBytVdp+MLy0o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR10MB3852 Received-SPF: pass client-ip=40.107.15.71; envelope-from=peter.smith1@amadeus.com; helo=EUR01-DB5-obe.outbound.protection.outlook.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.218, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 27 Apr 2021 14:00:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --_000_PA4PR10MB4464C3FE1C0FA6F4074A6927DD419PA4PR10MB4464EURP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable CONFIDENTIAL & RESTRICTED Hello, C:\gener\gnuutils>\bin\sort --version sort (GNU coreutils) 5.3.0 Written by Mike Haertel and Paul Eggert. Copyright (C) 2005 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. Usage: \bin\sort [OPTION]... [FILE]... Write sorted concatenation of all FILE(s) to standard output. Ordering options: Mandatory arguments to long options are mandatory for short options too. -b, --ignore-leading-blanks ignore leading blanks -d, --dictionary-order consider only blanks and alphanumeric charact= ers -f, --ignore-case fold lower case to upper case characters -g, --general-numeric-sort compare according to general numerical value -i, --ignore-nonprinting consider only printable characters -M, --month-sort compare (unknown) < `JAN' < ... < `DEC' -n, --numeric-sort compare according to string numerical value -r, --reverse reverse the result of comparisons Other options: -c, --check check whether input is sorted; do not sort -k, --key=3DPOS1[,POS2] start a key at POS1, end it at POS 2 (origin = 1) -m, --merge merge already sorted files; do not sort -o, --output=3DFILE write result to FILE instead of standard outp= ut -s, --stable stabilize sort by disabling last-resort compari= son -S, --buffer-size=3DSIZE use SIZE for main memory buffer -t, --field-separator=3DSEP use SEP instead of non-blank to blank transit= ion -T, --temporary-directory=3DDIR use DIR for temporaries, not $TMPDIR or = /tmp; multiple options specify multiple directories -u, --unique with -c, check for strict ordering; without -c, output only the first of an equal= run -z, --zero-terminated end lines with 0 byte, not newline --help display this help and exit --version output version information and exit POS is F[.C][OPTS], where F is the field number and C the character positio= n in the field. OPTS is one or more single-letter ordering options, which override global ordering options for that key. If no key is given, use the entire line as the key. SIZE may be followed by the following multiplicative suffixes: % 1% of memory, b 1, K 1024 (default), and so on for M, G, T, P, E, Z, Y. With no FILE, or when FILE is -, read standard input. *** WARNING *** The locale specified by the environment affects sort order. Set LC_ALL=3DC to get the traditional sort order that uses native byte values. Report bugs to . C:\gener\gnuutils>notepad help C:\gener\gnuutils>type test.dat bbbb aaaa ZZZZ BBBB C:\gener\gnuutils>set LC_ALL=3DC C:\gener\gnuutils>\bin\sort test.dat aaaa bbbb BBBB ZZZZ C:\gener\gnuutils> --_000_PA4PR10MB4464C3FE1C0FA6F4074A6927DD419PA4PR10MB4464EURP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

CONFIDENTIAL &am= p; RESTRICTED


Hello,

C:\gener\gnuutils>\bin\sort --version

sort (GNU coreutils) 5.3.0=

Written by Mike Haertel and Pau= l Eggert.

 

Copyright (C) 2005 Free Softwar= e Foundation, Inc.

This is free software; see the = source for copying conditions.  There is NO

warranty; not even for MERCHANT= ABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

 

Usage: \bin\sort [OPTION]... [FILE]...

Write sorted concatenation of all FILE(s) to standard output.=

 

Ordering options:

 

Mandatory arguments to long options are mandatory for short options too.=

  -b, --ignore-leading-blanks ignore leading blanks

  -d, --dictionary-order      consider onl= y blanks and alphanumeric characters

  -f, --ignore-case        =    fold lower case to upper case characters

  -g, --general-numeric-sort  compare according to general num= erical value

  -i, --ignore-nonprinting    consider only printabl= e characters

  -M, --month-sort        &= nbsp;   compare (unknown) < `JAN' < ... < `DEC'

  -n, --numeric-sort        = ;  compare according to string numerical value

  -r, --reverse        &nbs= p;      reverse the result of comparisons

 

Other options:

 

  -c, --check         =       check whether input is sorted; do not sort

  -k, --key=3DPOS1[,POS2]     start a key at PO= S1, end it at POS 2 (origin 1)

  -m, --merge         =       merge already sorted files; do not sort=

  -o, --output=3DFILE       &nbs= p; write result to FILE instead of standard output

  -s, --stable         = ;     stabilize sort by disabling last-resort compariso= n

  -S, --buffer-size=3DSIZE    use SIZE for main memo= ry buffer

  -t, --field-separator=3DSEP use SEP instead of non-blank to blank= transition

  -T, --temporary-directory=3DDIR  use DIR for temporaries, no= t $TMPDIR or /tmp;

            =             &nb= sp;     multiple options specify multiple directories

  -u, --unique         = ;     with -c, check for strict ordering;

            =             &nb= sp;     without -c, output only the first of an equal r= un

  -z, --zero-terminated     end lines with 0 by= te, not newline

      --help     display th= is help and exit

      --version  output version informatio= n and exit

 

POS is F[.C][OPTS], where F is the field number and C the character posi= tion

in the field.  OPTS is one or more single-letter ordering options, = which

override global ordering options for that key.  If no key is given,= use the

entire line as the key.

 

SIZE may be followed by the following multiplicative suffixes:

% 1% of memory, b 1, K 1024 (default), and so on for M, G, T, P, E, Z, Y= .

 

With no FILE, or when FILE is -, read standard input.<= /p>

 

*** WARNING ***

The locale specified by the environment affects sort order.

Set LC_ALL=3DC to get the traditional sort order that uses

native byte values.

 

Report bugs to <bug-coreutil= s@gnu.org>.

 

 

C:\gener\gnuutils>notepad help

 

C:\gener\gnuutils>type test.dat

bbbb

aaaa

ZZZZ

BBBB

 

C:\gener\gnuutils>set LC_ALL=3DC

 

C:\gener\gnuutils>\bin\sort test.dat

aaaa

bbbb

BBBB

ZZZZ

 

C:\gener\gnuutils>

 

--_000_PA4PR10MB4464C3FE1C0FA6F4074A6927DD419PA4PR10MB4464EURP_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 16:24:36 2021 Received: (at 48070) by debbugs.gnu.org; 27 Apr 2021 20:24:36 +0000 Received: from localhost ([127.0.0.1]:51018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbUG3-00072m-Ru for submit@debbugs.gnu.org; Tue, 27 Apr 2021 16:24:36 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:36833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbUG1-00072Z-VM for 48070@debbugs.gnu.org; Tue, 27 Apr 2021 16:24:34 -0400 Received: from [192.168.101.10] ([91.12.165.121]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N8n8I-1lYku416By-015uvF; Tue, 27 Apr 2021 22:24:26 +0200 Subject: Re: bug#48070: sort.exe cannot do ascii ordering but help says it can. To: "Peter SMITH1 (contractor)" , 48070@debbugs.gnu.org References: From: Bernhard Voelker Message-ID: Date: Tue, 27 Apr 2021 22:24:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Izt346dh9uwaI2wW+84kfV0a89UNN6KQk3u1aaYnk0VDV4edBPO kIbJnu88NTP4e/6pWS/Tlvq8trXJ14b09kyBh6a0EdpCCZhulAVw0hhBJkLcFiZ7PqKz557 6/A2h/pypoehEdDsNKvUu98Be8V6Wo5+snM1k+wGiqWgbsPEpmPtQ0kpm1/8RRRJajWAH3o mq2lZZ0p/LNJBnz7mXsnA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:/2grq9Eb6vs=:vHOvSmatp8A1wfMtN2Q9Cs zh6vNepaxPJIhYBLm65z7MbqayNqgGa4qWGRCWpTS9P8p72x6QD5sjjDPimKow1T79C1PoNkN j5oU+YO418REi6qjCC77N5c3N4r6+G1SqlXR51aQu+xKWDw6D24JoucGgQCG0qLiRd1E9sSH0 p7FhSVcPkcQGC45+AgI5ohZeIXqNOsIbsK8kxYonutx6tQtnHLBAfkuHqVxzkV2pqV9xpd4e2 WoMR+y7V6SDY557VCAulYOXUPsUL49b+r7Tn4Hvhdy+nFqHKvjsDnNDPw+1/2382wcKoMg2jD 4kDqL251Pcb0g6ytCHj2C6cAtdM9O2UzqwdiEZiwjzeP4LTCwcodylqt4l4fCBnkySZnIsoh1 gHH4Q5Fj3UILEBHNv2nnuU9HQhepd5FxD3tT/ivMYmuV2o5OmTj45eI5WB5rHzTeYHboR2RT8 3OrTde0B1sB6UbD7bp7d6+0SNLUbepFka3+svp6Zxj+7YQUA4GDNCe9Zy9rnhR9Z1VG4TVu16 wcXU3r+FOQgpledlvvfOYE= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48070 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 4/27/21 7:39 PM, Peter SMITH1 (contractor) via GNU coreutils Bug Reports wrote: > CONFIDENTIAL & RESTRICTED This cannot be enforced on a public mailing list, for obvious reasons. > Hello, > > C:\gener\gnuutils>\bin\sort --version > sort (GNU coreutils) 5.3.0 > Written by Mike Haertel and Paul Eggert. > > Copyright (C) 2005 Free Software Foundation, Inc. This is a report with a 16-year-old version of the tool. Not sure if the issue - if any - still exists in the current version (8.32) Furthermore, you are using a Windows binary - usually one would try to seek help at the creator of that, i.e., the distributor, first. > C:\gener\gnuutils>type test.dat > bbbb > aaaa > ZZZZ > BBBB > > C:\gener\gnuutils>set LC_ALL=C > > C:\gener\gnuutils>\bin\sort test.dat > aaaa > bbbb > BBBB > ZZZZ > > C:\gener\gnuutils> It seems that the locale information available to sort differs from that of a current system: $ env LC_ALL=C sort test.dat BBBB ZZZZ aaaa bbbb or that your version of sort enables case-folding (-f): $ LC_ALL=C sort -f test.dat aaaa BBBB bbbb ZZZZ As the version you are using is that old, and the environment is quite different, I'm afraid we cannot help much here. First, I'd try to get a newer build and see if the problem still exists. Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 21 04:05:32 2022 Received: (at control) by debbugs.gnu.org; 21 Feb 2022 09:05:32 +0000 Received: from localhost ([127.0.0.1]:35002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM4dP-0000to-SQ for submit@debbugs.gnu.org; Mon, 21 Feb 2022 04:05:32 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM4dO-0000tb-BH for control@debbugs.gnu.org; Mon, 21 Feb 2022 04:05:30 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 171C4160103 for ; Mon, 21 Feb 2022 01:05:25 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id vnTSdSJi1XQc for ; Mon, 21 Feb 2022 01:05:24 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 79449160106 for ; Mon, 21 Feb 2022 01:05:24 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m9CYyoW0WpMh for ; Mon, 21 Feb 2022 01:05:24 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 586BF160103 for ; Mon, 21 Feb 2022 01:05:24 -0800 (PST) Message-ID: <80fc1cea-fd38-bd78-af7e-29bc021c0574@cs.ucla.edu> Date: Mon, 21 Feb 2022 01:05:24 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: control@debbugs.gnu.org From: Paul Eggert Organization: UCLA Computer Science Department Subject: close 48070 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 48070 tags 48034 moreinfo close 48034 unmerge 47883 unmerge 48002 From unknown Tue Jun 17 03:40:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Mar 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator