From unknown Sat Aug 09 15:55:33 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#17016 <17016@debbugs.gnu.org> To: bug#17016 <17016@debbugs.gnu.org> Subject: Status: sort program question -- bug with program, or documentation or my misunderstanding Reply-To: bug#17016 <17016@debbugs.gnu.org> Date: Sat, 09 Aug 2025 22:55:33 +0000 retitle 17016 sort program question -- bug with program, or documentation o= r my misunderstanding=20 reassign 17016 coreutils submitter 17016 Leslie S Satenstein severity 17016 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 15 08:52:37 2014 Received: (at submit) by debbugs.gnu.org; 15 Mar 2014 12:52:37 +0000 Received: from localhost ([127.0.0.1]:37322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WOo4n-0003LG-V7 for submit@debbugs.gnu.org; Sat, 15 Mar 2014 08:52:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WOo4f-0003Ky-Uw for submit@debbugs.gnu.org; Sat, 15 Mar 2014 08:52:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOo4X-0000gM-55 for submit@debbugs.gnu.org; Sat, 15 Mar 2014 08:52:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOo4X-0000gI-1c for submit@debbugs.gnu.org; Sat, 15 Mar 2014 08:52:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOo4P-0007cE-8s for bug-coreutils@gnu.org; Sat, 15 Mar 2014 08:52:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOo4H-0000eM-Cb for bug-coreutils@gnu.org; Sat, 15 Mar 2014 08:52:09 -0400 Received: from nm5-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.150]:43439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOo4H-0000eH-5f for bug-coreutils@gnu.org; Sat, 15 Mar 2014 08:52:01 -0400 Received: from [98.139.212.152] by nm5.bullet.mail.bf1.yahoo.com with NNFMP; 15 Mar 2014 12:52:00 -0000 Received: from [98.139.212.229] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 15 Mar 2014 12:52:00 -0000 Received: from [127.0.0.1] by omp1038.mail.bf1.yahoo.com with NNFMP; 15 Mar 2014 12:52:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 258875.10924.bm@omp1038.mail.bf1.yahoo.com Received: (qmail 52385 invoked by uid 60001); 15 Mar 2014 12:52:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1394887920; bh=b1nQFkIehy+1w2guzJfs0lyEj66XpbYaKc45dLX0qxY=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=l6DGZidyFsA/CVl/+EF8EkcWEtem22Xbv827sOsOyfLpLPTnPGF+3nngfi2OWFAxzWyrJv0qzu1bdgrt/O6frF60L2oLT+5tAmUHO7fHlnT8vCmQDFsNo5usDa4t4DtrzROLIjTmwWol32IRUshvrSy6hGkarlm4VYQ31H4kjE4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=D8WjT34ly7FYRRSRCusH39vwQSwZiJzulvjHashQAYcnse2MoXAkJUXTI4V7J9XSeOhDpkqaf6V9U3ZFFAibmmwv6J0RgiWShbqu/MIGgkxOisbTGwbJ88agV7tDdHEfTHvO5V0zU2ViAhWAf+Q3abKpJrMb+2l7OLQOJcjqH+8=; X-YMail-OSG: g9acoCQVM1narMTUYjo3vlusi5V1GMR95l07.WQfcQcRCzF 3cB6jwRw9by6zmwSpOPmZQzItRL2oEBmXsyb_hfG5_PHtn863QzNXVmXULBI fWZDbUdHDkqSEcsZkDVYDr3pT50GwO9BD_s2L_xTnexCCHddMC4stlCMS1_4 Yjo6Vpb.iSWbrvtIACHkL1Pq3DCPj2C2Y8yKBMH5giqlm64fP3C3SJDnMH0J pI8V.msTTifmmUzn82jK8YS6d3HS7Uig.vVEqrsLxdu7ery5Ez.eMdn7oy0k rfRMd6tqdCUUi.1rE0vchUkJblBgPPOOTDl0Ng0q7GImR8ds4uDkevyivpUH o536Fvpj_qDpEh8LZIf4taIXlGJO9aZZgh0QHJVJKdRc56oUyEvhp3ZAJwM1 t27hvhjMtbFUNAG4n3UVyv8BuqWmNByy939Zy1jShOCkw_zgISQEtAq7KdUz lmB8lATOBoiXvTK4j9b_MswHIe2wd1TDPApSZSlVJw0iba2ii7W74JzpMFBy S72XpTZMFGJ9BOCeDxKGyH3cJM0G3qg1sabbXgXwrDrZqWbNEvWPiB0Gp5oQ ReOCmPLjza59vCTgodHfCLWbve8uwAFSr4L5b2fL9wP6dWcCnT.QUMBeEox7 fKCg- Received: from [76.66.192.89] by web142602.mail.bf1.yahoo.com via HTTP; Sat, 15 Mar 2014 05:52:00 PDT X-Rocket-MIMEInfo: 002.001, SGkKTXkgZmlyc3QgcG9zdGluZy4KCkkgYmVsaWV2ZSB0aGVyZSBpcyBhbiBvbWlzc2lvbiBpbiBtYW4gcGFnZXMgZm9yIHRoZSBzb3J0IGluIHRoZSBEZXNjcmlwdGlvbiAKYXJlYSBzZWN0aW9uLsKgIE9uZSBjYW5ub3Qgc3VjY2Vzc2Z1bGx5IHVzZSAtZCBvciB3aXRob3V0IGluY2x1ZGluZyAtZiBvbiB0aGUgCmxpbmUuIFJlZmVyIHRvwqAgbWFuIHNvcnQgdW5kZXIgRGVzY3JpcHRpb24KwqAtZCwgLS1kaWN0aW9uYXJ5LW9yZGVyCsKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIGNvbnNpZGVyIG9ubHkgYmwBMAEBAQE- X-Mailer: YahooMailWebService/0.8.178.641 Message-ID: <1394887920.24936.YahooMailNeo@web142602.mail.bf1.yahoo.com> Date: Sat, 15 Mar 2014 05:52:00 -0700 (PDT) From: Leslie S Satenstein Subject: sort program question -- bug with program, or documentation or my misunderstanding To: "bug-coreutils@gnu.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1585520525-981230739-1394887920=:24936" X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Leslie S Satenstein 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: -5.0 (-----) ---1585520525-981230739-1394887920=:24936 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi=0AMy first posting.=0A=0AI believe there is an omission in man pages for= the sort in the Description =0Aarea section.=A0 One cannot successfully us= e -d or without including -f on the =0Aline. Refer to=A0 man sort under Des= cription=0A=A0-d, --dictionary-order=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 consider only blanks and alphanumeric characters=0A=0A=0AI have the fol= lowing lines in a file=A0=A0 (see below as justification)=0A=0AI want a fil= e sorted as straight ascii sort.=A0 I=A0 eventually developed the two alter= nate command lines shown below, for two different purposes.=0A=0AThe undocu= mented bug is the requirement for the=A0=A0=A0 -f=A0=A0=A0 to be specified = in order to have the sort work in the first of the two ASCII examples shown= below,=0Aotherwise the leading blank is ignored.=0A=0AThe first sort did n= ot work for me unless the -f is specified.=A0 Nowhere in the man page does = it stipulate that for -d option the -f must be specified.=0AThat is the bug= .=0A=A0=0ADid I not understand man=A0 sort=A0=A0=A0=A0=A0=A0=A0=A0 or=A0=A0= info sort=A0=A0=A0=A0 (linux fedora 20)=A0=A0=A0=A0=A0=A0 ?=0A=0AHere are = the two command lines and some sample lines as justification for my posting= . I wish to sort a file shown below within the =3D=3D=3D by the first colum= n=0AThe following is the demo script=0A=0A#!/bin/bash=0ALC_ALL=3DC=0A# to s= ort in ascii sequence where line ABCabc comes before abc=A0=A0=A0=A0=A0=A0 = use the following=0Asort=A0 -f -k1d -t '|'=A0 x=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -o ABCabc=0A# output will hav= e lines with leading ABC text occurring before abc as per ascii table.=0A# = The sort will not work if the -f is omitted.=0A=0A# The undocumented requir= ement is the need to specify=A0 the -f=0A#=0A# to sort folding the in folde= d ascii sequence, where lines with sequence ABCbac sorts as AaBbCc ... use = the following=0A# This part of the man pages is correct.=A0 Except we may s= pecify the folding option in two ways=0A=0Asort -t '|' -k1f=A0 x=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 -o=A0 AaBbCc=0Aor the line with=A0=A0=A0 sort -f -t '|' -k1= x=A0=A0=A0=A0=A0=A0=A0 -o AaBbCc=0A=A0 =0A=0ATry the first command or vari= ents without the -f=A0 to sort in column 1 ascending sequence=0A=0A=0AHere = is a text file, between the =3D=3D=3D to paste into VI=A0=A0 Save it as x .= and try to get the sort against the lines =0A=0ANB, the leading blank for = line 1 is to force the line to be first in the output=0A=0A=0A=3D=3D=3D=3D= =3D=3D=3D=3D=0A=0A=A0Host=3Dfedora20.fedora20=A0=A0=A0=A0=A0=A0=A0=A0=A0 |= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 scan from=A0 /home/l= eslie/Development/scandir=0Acrc32.h=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736|bb96da74aa636110b822d11= 6afbe36d82c1c0861|/home/leslie/Development/scandir=0Amd5.h=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |2014031= 4 1736|544728de8b8dc476109922cf5601a7cd6a103916|/home/leslie/Development/sc= andir=0AABCbac=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 |20140314 1901|6626094e11fee60bbe73529bd440a43961c022ce|= /home/leslie/Development/scandir=0Ascandir32.c=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1738|1526c725bf00d8268b5319b= 125cebd2fbb001542|/home/leslie/Development/scandir=0Adate1=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |2014031= 4 1901|97294e445cb75e611805024d5461bd07807e9157|/home/leslie/Development/sc= andir=0Asha1.o=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 |20140314 1736|1ba673cd46bb246f7f380dc862f93b4737c1305c|= /home/leslie/Development/scandir=0Adirdepth.c=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736|8779adf41bce65b45f597ba= 3731db55e81aa718a|/home/leslie/Development/scandir=0Amd5Good.tar=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736|87ca9= e022705250fe2635f87801bbf0fd2df0a0f|/home/leslie/Development/scandir=0Acrc3= 2.c=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 |20140314 1736|cb8e353eedecba7d1c0fa2bdd871a508301b10d3|/home/leslie/De= velopment/scandir=0Ascandir32=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1738|ddc187abd0a991183f0d148ed1f069169c5= b67ab|/home/leslie/Development/scandir=0Amd5.c=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736|29114= 5c0b852ec5cff52b361f2be75886f116bee|/home/leslie/Development/scandir=0Amd5= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 |20140314 1736|a766f710c7f007fa930c808f1a25464f6c7fb1ae|/home/= leslie/Development/scandir=0Ascandir=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1738|525b14d0c2ed42d7c6df168= ad9606573df3fa97c|/home/leslie/Development/scandir=0Adirent.h=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736= |281be8444edc7fdaf561cab6f86e80911f425041|/home/leslie/Development/scandir= =0Atest.sh=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 |20140314 1736|7ebc56b604211a222c5a3fa6caf811207134fb3f|/home/= leslie/Development/scandir=0Amakefile=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736|8c13260814f42acb544cfd3= eda64daf7a26241f3|/home/leslie/Development/scandir=0Asort.how=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1859= |08aff8bec844bbe8684f24e9e0e5635d73a0f364|/home/leslie/Development/scandir= =0Ascandirmd5=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 |20140314 1738|525b14d0c2ed42d7c6df168ad9606573df3fa97c|/home/leslie= /Development/scandir=0Acrc32.o=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736|0f3c8739e6ebc6b5d2c553687886f= e47df1aa39c|/home/leslie/Development/scandir=0ADATE2=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736= |c31bd337d70c8d39ada367a889d623e19cd3c995|/home/leslie/Development/scandir= =0Adate2 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 |20140314 1901|97294e445cb75e611805024d5461bd07807e9157|/home/= leslie/Development/scandir=0Asha1.h=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1736|017eefa93cc9fe477881= fa0986465b0a125b5aa5|/home/leslie/Development/scandir=0Ascandirsha1.c=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1738|a4ea776b= 95cb87047188353527128262d1059990|/home/leslie/Development/scandir=0Ablackli= st.txt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |20140314 1= 736|28ec0b1ef6be98a520366ea63938e0a436b1db78|/home/leslie/Development/scand= ir/SOX/var=0A=3D=3D=3D=3D=3D=3D=0A=0ATrying different variations of the sor= t with the above file leads to some results that do not appear to me to be = correct.=0AI have specified locale, and with some variants, locale appears = to be ignored.=A0 The above file is as ASCII text, not utf8=0A=0A=A0=0ARega= rds =0A=0A=A0Leslie=0A=0AMr. Leslie Satenstein ---1585520525-981230739-1394887920=:24936 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi
My first posting.

I=0A believe there is an omissio= n in man pages for the sort in the Description =0Aarea section.  One c= annot successfully use -d or without including -f on the =0Aline. Refer to&= nbsp; man sort under Description

 -d, --dictionary-order
&= nbsp;           &nbs= p; consider only blanks and alphanumeric characters


I have the following lines in a file &n= bsp; (see below as justification)

I want a file sorted as straight ascii sort.  I  eventually= developed the two alternate command lines shown below, for two different p= urposes.

The undocumented bug is the requirem= ent for the    -f &n= bsp;  to be specified in order to have the sort work in the fir= st of the two ASCII examples shown below,
otherwise the leading blank is ignored.
The first sort did not work for me unless = the -f is specified.  Nowhere in the man page does it stipulate that f= or -d option the -f must be specified.
That is the bug.
 
Did I not understand man  sort     =     or   info sort     (linux = fedora 20)       ?
Here are the two command lines and some sample li= nes as justification for my posting. I wish to sort a file shown below within the =3D=3D=3D by the first column
The following is the demo script

= #!/bin/bash
LC_ALL=3DC
# to sort in ascii sequence where line ABCabc = comes before abc       use the following
sort  -f -k1d -t '|'  x &= nbsp;           &nbs= p;           -o ABCabc# output will have lines with leading ABC text occurring before abc as per= ascii table.
# The sort wi= ll not work if the -f is omitted.
# The undocumented requirement is the need to specify  the = -f
#
# to sort folding the in folded ascii sequence, where lines with= sequence ABCbac sorts as AaBbCc ... use the following
# This part of the man pages is corr= ect.  Except we may specify the folding option in two ways
sort -t '|' -k1f  x &nbs= p;            &= nbsp;           &nbs= p;       -o  AaBbCc
or the line with    sort -f -t '|' -k1 x        -o AaBbCc
 
Try the first command or= varients without the -f  to sort in column 1 ascending sequence

Here is a text file, between the =3D=3D=3D to past= e into VI   Save it as x . and try to get the sort against the li= nes
NB, the leadi= ng blank for line 1 is to force the line to be first in the output

<= /div>
=3D=3D=3D=3D=3D=3D=3D= =3D
 Host= =3Dfedora20.fedora20          |             = |            &n= bsp;            = ;      scan from  /home/leslie/Development/sc= andir
crc32.h          = ;            &n= bsp;   |20140314 1736|bb96da74aa636110b822d116afbe36d82c1c0861|/h= ome/leslie/Development/scandir
md5.h      =             &nb= sp;         |20140314 1736|544728de8b8dc476109922cf5601a7cd6a103916|/home/leslie/Development/sca= ndir
ABCbac          &= nbsp;           &nbs= p;    |20140314 1901|6626094e11fee60bbe73529bd440a43961c022c= e|/home/leslie/Development/scandir
scandir32.c    &n= bsp;            = ;     |20140314 1738|1526c725bf00d8268b5319b125cebd2fbb= 001542|/home/leslie/Development/scandir
date1    &nb= sp;            =            |20140314 1901|97294e445cb75e611805024d5461bd07807e9157|/home/leslie/Development/sca= ndir
sha1.o          &= nbsp;           &nbs= p;    |20140314 1736|1ba673cd46bb246f7f380dc862f93b4737c1305= c|/home/leslie/Development/scandir
dirdepth.c    &nb= sp;            =       |20140314 1736|8779adf41bce65b45f597ba3731db= 55e81aa718a|/home/leslie/Development/scandir
md5Good.tar  &nbs= p;            &= nbsp;      |20140314 1736|87ca9e022705250fe2635f87= 801bbf0fd2df0a0f|/home/leslie/Development/scandir
crc32.c  &nb= sp;            =            |20140314 1736|cb8e353eedecba7d1c0fa2bdd871a508301b10d3|/home/leslie/Devel= opment/scandir
scandir32        =             &nb= sp;   |20140314 1738|ddc187abd0a991183f0d148ed1f069169c5b67ab|/ho= me/leslie/Development/scandir
md5.c      &= nbsp;           &nbs= p;         |20140314 1736|291145c0b= 852ec5cff52b361f2be75886f116bee|/home/leslie/Development/scandir
md5&nbs= p;            &= nbsp;           &nbs= p;    |20140314 1736|a766f710c7f007fa930c808f1a25464f6c7fb1ae|/home/leslie/Development/sca= ndir
scandir          =             &nb= sp;   |20140314 1738|525b14d0c2ed42d7c6df168ad9606573df3fa97c|/ho= me/leslie/Development/scandir
dirent.h     &nbs= p;            &= nbsp;      |20140314 1736|281be8444edc7fdaf561cab6= f86e80911f425041|/home/leslie/Development/scandir
test.sh  &nb= sp;            =            |20140314 1736|7ebc56b604211a222c5a3fa6caf811207134fb3f|/home/leslie/Development/sca= ndir
makefile          = ;            &n= bsp;  |20140314 1736|8c13260814f42acb544cfd3eda64daf7a26241f3|/home/le= slie/Development/scandir
sort.how      &nb= sp;            =       |20140314 1859|08aff8bec844bbe8684f24e9e0e56= 35d73a0f364|/home/leslie/Development/scandir
scandirmd5   = ;            &n= bsp;       |20140314 1738|525b14d0c2ed42d7c6d= f168ad9606573df3fa97c|/home/leslie/Development/scandir
crc32.o &nbs= p;            &= nbsp;           |20140314 1736|0f3c8739e6ebc6b5d2c553687886fe47df1aa39c|/home/leslie/Devel= opment/scandir
DATE2        &nbs= p;            &= nbsp;      |20140314 1736|c31bd337d70c8d39ada367a8= 89d623e19cd3c995|/home/leslie/Development/scandir
date2        &nbs= p;            &= nbsp;      |20140314 1901|97294e445cb75e611805024d= 5461bd07807e9157|/home/leslie/Development/scandir
sha1.h  &nbs= p;            &= nbsp;           |20140314 1736|017eefa93cc9fe477881fa0986465b0a125b5aa5|/home/leslie/Devel= opment/scandir
scandirsha1.c       &n= bsp;            |201= 40314 1738|a4ea776b95cb87047188353527128262d1059990|/home/leslie/Developmen= t/scandir
blacklist.txt        &= nbsp;           |20140314= 1736|28ec0b1ef6be98a520366ea63938e0a436b1db78|/home/leslie/Development/sca= ndir/SOX/var
=3D=3D=3D=3D=3D=3D

Trying different variations= of the sort with the above file leads to some results that do not appear t= o me to be correct.
I have specified locale, and with some variants, loc= ale appears to be ignored.  The above file is as ASCII text, not utf8
=
 
Regards

 Leslie
Mr. Leslie Satenstein
 
<= /span>
---1585520525-981230739-1394887920=:24936-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 15 14:12:10 2014 Received: (at control) by debbugs.gnu.org; 15 Mar 2014 18:12:10 +0000 Received: from localhost ([127.0.0.1]:37659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WOt45-0004lv-H4 for submit@debbugs.gnu.org; Sat, 15 Mar 2014 14:12:09 -0400 Received: from joseki.proulx.com ([216.17.153.58]:50749) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WOt41-0004lc-DN; Sat, 15 Mar 2014 14:12:06 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 800E421233; Sat, 15 Mar 2014 12:11:59 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 4BDBE2DCD4; Sat, 15 Mar 2014 12:11:59 -0600 (MDT) Date: Sat, 15 Mar 2014 12:11:59 -0600 From: Bob Proulx To: Leslie S Satenstein Subject: Re: bug#17017: Fw: sort program question my error Message-ID: <20140315181159.GA26417@hysteria.proulx.com> References: <1394887920.24936.YahooMailNeo@web142602.mail.bf1.yahoo.com> <1394894801.22543.YahooMailNeo@web142604.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1394894801.22543.YahooMailNeo@web142604.mail.bf1.yahoo.com> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 17017@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.0 (/) forcemerge 17016 17017 close 17016 thanks Leslie S Satenstein wrote: > >My first posting. Welcome to the community! Let me gently nudge you to use the coreutils@gnu.org mailing list for questions and discussion. Sending bug reports to the bug-coreutils address opens a bug ticket for each new message there. Your two messages one after the other opened up two seperate bug tickets. > Disregard my previous posting Because the two bug tickets are open I am merging them together and closing them with this message. That is what the merge and close commands above do. Open bug tickets mean that the issue won't get forgotten and therefore cannot be ignored or disregarded. > In my doc, I did not apply export as ... > > #!/bin/bash > export LC_ALL=C > Without the export Yes. Needs the export. This is actually a libc locale collation ordering issue. When libc changed every other piece of software on the system was affected and not just sort. And as you might imagine this is also an FAQ. Please see the FAQ entry for the standard answer to these questions. http://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-order_0021 I hope this doesn't put you off posting questions, issues, or bugs in the future. We welcome your participation. Please do so on the coreutils@gnu.org mailing list. No bug tracking system there. Just a discussion list. :-) Bob From unknown Sat Aug 09 15:55:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Apr 2014 11:24:03 +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