From unknown Sat Jun 21 05:19:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 04 Jun 2013 20:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14556 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: smujohnson@gmail.com, 14556@debbugs.gnu.org, coreutils@gnu.org X-Debbugs-Original-To: smu johnson , bug-coreutils@gnu.org, "coreutils@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.137037738324852 (code B ref -1); Tue, 04 Jun 2013 20:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jun 2013 20:23:03 +0000 Received: from localhost ([127.0.0.1]:50924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ujxl0-0006Sn-NI for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:23:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49266) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ujxkv-0006S3-NZ for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:23:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujxio-0004iQ-Mo for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:20:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujxio-0004iL-K4 for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:20:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujxii-0000XM-QA for bug-coreutils@gnu.org; Tue, 04 Jun 2013 16:20:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujxid-0004g3-Qk for bug-coreutils@gnu.org; Tue, 04 Jun 2013 16:20:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujxid-0004fz-Iq; Tue, 04 Jun 2013 16:20:35 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r54KKXRP006150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Jun 2013 16:20:34 -0400 Received: from [10.3.113.96] (ovpn-113-96.phx2.redhat.com [10.3.113.96]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r54KKW1n026389; Tue, 4 Jun 2013 16:20:33 -0400 Message-ID: <51AE4C10.8020404@redhat.com> Date: Tue, 04 Jun 2013 14:20:32 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2HOMFVUNXDANTKFQPMOEV" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2HOMFVUNXDANTKFQPMOEV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [adding the list back in the loop; also adding bug-coreutils to get a bug number assigned for 2 doc bugs, and slightly reformatting to avoid excessive top-posting] On 06/04/2013 01:44 PM, smu johnson wrote: > I did reply on purpose to you, but only because I wasn't sure about som= e of > the text you wrote in your original reply, and because I didn't realize= it > was a list until now. >=20 > I got the first email address from http://www.gnu.org/software/coreutil= s/, > where it says, "Send general questions or suggestions to: coreutils@gnu= =2Eorg". > It didn't warn me that sending an email is the equivalent to sending to= a > mailing list. So I mistakenly thought you were in charge of answering > emails. My bad, sorry about that. My take on this is that you have discovered a doc bug, in that our web page is not making it clear that our bug reporting address is a publicly archived mailing list (although this setup is typical for most open source projects, it is not universal; and it takes an outsider's perspective like yours to make us realize that we have unstated assumptions that ended up surprising you). We could probably add a sentence or two to the web page that makes it clear that your post goes to a list, that we are unable to scrub anything you post (so even though we do our best to munge things to minimize the effects, we cannot guarantee that spammers will not obtain your address from your post), and that list policy is to reply-to-all to keep you in the loop without forcing you to subscribe to the list. >>> >>> 2) I tried the command you ran, but I seem to be getting different >>> results. I don't really know what I'm doing. >>> >>> sjohnson@piggytin:~$ touch COPYING HACKING >>> sjohnson@piggytin:~$ stat -c "%'s" COPYING HACKING >>> ?s >>> ?s >>=20 >> What does 'stat --version' say? >=20 > To answer your other question, stat (GNU coreutils) 8.5. You found another doc bug - I can confirm that the behavior has changed in the meantime (I see a change in behavior between my testing on RHEL 6.4 with stat 8.4, vs. Fedora 19 with stat 8.17), but do not see the change mentioned in NEWS. I suspect the change happened with this commit in 8.7: commit ca9aa7596094c4af094edb7eb63648570d53c100 Author: Paul Eggert Date: Sat Nov 6 13:57:08 2010 -0700 stat: do not rely on undefined behavior in printf formats As for myself, I'm headed on vacation for most of June, so one of the other list readers will probably beat me to writing these two patches (more details on the list, and supplying the missing NEWS entry). I also found this recently, and thought it was a-propos to this situation: https://rwmj.wordpress.com/2010/11/08/want-help-dont-email-me-directly/ --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2HOMFVUNXDANTKFQPMOEV 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRrkwQAAoJEKeha0olJ0NqbD0IAIA6IEWZxTgfUnny5sbstykE NhpYXLHeGHctwm/9oBkvITION5n3dW0N/AgyKsSS17eBg5Q8nyQgq164zRQCsB5n iOrWaqczCXZnOp9Pb7Gv2JyHIzxUsasGZNRi3Rwxdqfw59q+b/aunanxOJ5MfMoG LL6jhUvntd8ChnYncrwbBnCn8R5qVg8/fP6Rywc/2p1vPWJOR0gZntCfrCg94JvO eROcYdo35XrSlthhV7HTD/Mf5c+mAn1t0nvO2RbLR1t5hEA90Qzf+0IMuncs2cVZ mD3rx8sykwHbiFyDG1aIKHCeKKeHRGxSJSRICs/0A8/AXkAbJI9qEQnDYMGQikQ= =Qi5w -----END PGP SIGNATURE----- ------enig2HOMFVUNXDANTKFQPMOEV-- From unknown Sat Jun 21 05:19:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 04 Jun 2013 22:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14556 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Eric Blake Cc: smujohnson@gmail.com, 14556@debbugs.gnu.org Received: via spool by 14556-submit@debbugs.gnu.org id=B14556.137038641213041 (code B ref 14556); Tue, 04 Jun 2013 22:54:01 +0000 Received: (at 14556) by debbugs.gnu.org; 4 Jun 2013 22:53:32 +0000 Received: from localhost ([127.0.0.1]:51015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uk06d-0003OI-Fv for submit@debbugs.gnu.org; Tue, 04 Jun 2013 18:53:32 -0400 Received: from mail1.vodafone.ie ([213.233.128.43]:36739) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Uk06b-0003Nw-AL for 14556@debbugs.gnu.org; Tue, 04 Jun 2013 18:53:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkDAJlurlFtTPRo/2dsb2JhbAANTYM5gzy7agMBgRODFwEBAQQjDwE7CxALDQEKAgIFAxMLAgIJAwIBAgFFBg0BBQIBAQWIEKsBcpFygSaMPGNfB4JHgRQDngCOD4Fw Received: from unknown (HELO [192.168.1.79]) ([109.76.244.104]) by mail1.vodafone.ie with ESMTP; 04 Jun 2013 23:51:22 +0100 Message-ID: <51AE6F69.1090103@draigBrady.com> Date: Tue, 04 Jun 2013 23:51:21 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> <51AE4C10.8020404@redhat.com> In-Reply-To: <51AE4C10.8020404@redhat.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -1.9 (-) On 06/04/2013 09:20 PM, Eric Blake wrote: > [adding the list back in the loop; also adding bug-coreutils to get a > bug number assigned for 2 doc bugs, and slightly reformatting to avoid > excessive top-posting] > > On 06/04/2013 01:44 PM, smu johnson wrote: >> I did reply on purpose to you, but only because I wasn't sure about some of >> the text you wrote in your original reply, and because I didn't realize it >> was a list until now. >> >> I got the first email address from http://www.gnu.org/software/coreutils/, >> where it says, "Send general questions or suggestions to: coreutils@gnu.org". >> It didn't warn me that sending an email is the equivalent to sending to a >> mailing list. So I mistakenly thought you were in charge of answering >> emails. My bad, sorry about that. > > My take on this is that you have discovered a doc bug, in that our web > page is not making it clear that our bug reporting address is a publicly > archived mailing list (although this setup is typical for most open > source projects, it is not universal; and it takes an outsider's > perspective like yours to make us realize that we have unstated > assumptions that ended up surprising you). We could probably add a > sentence or two to the web page that makes it clear that your post goes > to a list, that we are unable to scrub anything you post (so even though > we do our best to munge things to minimize the effects, we cannot > guarantee that spammers will not obtain your address from your post), > and that list policy is to reply-to-all to keep you in the loop without > forcing you to subscribe to the list. Hopefully the current text is now obvious. thanks, Pádraig. From unknown Sat Jun 21 05:19:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 05 Jun 2013 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14556 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 14556@debbugs.gnu.org, smujohnson@gmail.com Received: via spool by 14556-submit@debbugs.gnu.org id=B14556.13704451003850 (code B ref 14556); Wed, 05 Jun 2013 15:12:02 +0000 Received: (at 14556) by debbugs.gnu.org; 5 Jun 2013 15:11:40 +0000 Received: from localhost ([127.0.0.1]:52707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkFND-000103-Uf for submit@debbugs.gnu.org; Wed, 05 Jun 2013 11:11:40 -0400 Received: from joseki.proulx.com ([216.17.153.58]:54502) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkFNB-0000zi-Ae for 14556@debbugs.gnu.org; Wed, 05 Jun 2013 11:11:38 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id ABD32211D5; Wed, 5 Jun 2013 09:09:31 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 5D9792DCF5; Wed, 5 Jun 2013 09:09:31 -0600 (MDT) Date: Wed, 5 Jun 2013 09:09:31 -0600 From: Bob Proulx Message-ID: <20130605150931.GB12710@hysteria.proulx.com> References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> <51AE4C10.8020404@redhat.com> <51AE6F69.1090103@draigBrady.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <51AE6F69.1090103@draigBrady.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.4 (--) P=E1draig Brady wrote: > Eric Blake wrote: > > My take on this is that you have discovered a doc bug, in that our we= b > > page is not making it clear that our bug reporting address is a publi= cly > > archived mailing list (although this setup is typical for most open > > source projects, it is not universal; and it takes an outsider's > > perspective like yours to make us realize that we have unstated > > assumptions that ended up surprising you). We could probably add a > > sentence or two to the web page that makes it clear that your post go= es > > to a list, that we are unable to scrub anything you post (so even tho= ugh > > we do our best to munge things to minimize the effects, we cannot > > guarantee that spammers will not obtain your address from your post), > > and that list policy is to reply-to-all to keep you in the loop witho= ut > > forcing you to subscribe to the list. >=20 > Hopefully the current text is now obvious. I like the new changes. The text is now very clear. Bob From unknown Sat Jun 21 05:19:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 05 Jun 2013 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14556 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: Cc: 14556@debbugs.gnu.org Received: via spool by 14556-submit@debbugs.gnu.org id=B14556.13704583867343 (code B ref 14556); Wed, 05 Jun 2013 18:54:01 +0000 Received: (at 14556) by debbugs.gnu.org; 5 Jun 2013 18:53:06 +0000 Received: from localhost ([127.0.0.1]:52833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkIpW-0001uK-1X for submit@debbugs.gnu.org; Wed, 05 Jun 2013 14:53:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42185) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkIpS-0001te-3R for 14556@debbugs.gnu.org; Wed, 05 Jun 2013 14:53:03 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r55IopGS005878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <14556@debbugs.gnu.org>; Wed, 5 Jun 2013 14:50:51 -0400 Received: from [10.3.113.96] (ovpn-113-96.phx2.redhat.com [10.3.113.96]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r55Ioov6025844 for <14556@debbugs.gnu.org>; Wed, 5 Jun 2013 14:50:50 -0400 Message-ID: <51AF888A.9070202@redhat.com> Date: Wed, 05 Jun 2013 12:50:50 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> <51AE4C10.8020404@redhat.com> In-Reply-To: <51AE4C10.8020404@redhat.com> X-Enigmail-Version: 1.5.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2FAQPKXIRHLKAMPSGMQCX" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.4 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2FAQPKXIRHLKAMPSGMQCX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/04/2013 02:20 PM, Eric Blake wrote: >=20 > You found another doc bug - I can confirm that the behavior has changed= > in the meantime (I see a change in behavior between my testing on RHEL > 6.4 with stat 8.4, vs. Fedora 19 with stat 8.17), but do not see the > change mentioned in NEWS. I suspect the change happened with this > commit in 8.7: >=20 > commit ca9aa7596094c4af094edb7eb63648570d53c100 > Author: Paul Eggert > Date: Sat Nov 6 13:57:08 2010 -0700 >=20 > stat: do not rely on undefined behavior in printf formats I confirmed that this was indeed the point where the behavior changed. Any objection to a patch along these lines? I guess it's incomplete, as I'd also have to edit the NEWS hash since this is touching old news. Likewise, does the testsuite need to be enhanced to ensure we don't regre= ss? =46rom ff67e9a92f8ec64b70abffe8524a56f4f5062a8d Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 5 Jun 2013 12:46:17 -0600 Subject: [PATCH] doc: mention prior stat change Commit ca9aa759 had the side effect of changing 'stat -c "%'s" file' from outputting "?s" to the nicer "1,234", so this is worth mentioning in the NEWS. * NEWS: Mention 8.7 improvement in stat. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS b/NEWS index cad5eee..bd6085d 100644 --- a/NEWS +++ b/NEWS @@ -883,6 +883,9 @@ GNU coreutils NEWS -*- outline -*- However, with the above change to %X, %Y and %Z, we've made %W work the same way as the others. + stat supports additional flags, such as %'s for listing sizes with + the current locale's thousands separator. + * Noteworthy changes in release 8.6 (2010-10-15) [stable] --=20 1.8.1.4 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2FAQPKXIRHLKAMPSGMQCX 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRr4iKAAoJEKeha0olJ0NqB0wIAIJgI8zWuUR4lKtjxVAc8Rki 9FhQSCNdcC2/pXUecKTB7gndKrqwsFiBUvT2tWhiXyIVH8xdEgv0btPNfgdsV9g0 GJrFrxdtnEV6Bq+NKAo9sma9MUfMtlOo9m0RvHShYv7oET1POlaO+YCGT5JsZPOM FXeXZW1d36Bw6HzWcnsSzIYiHinQeowJ2dFYUcYFIp41W2J+EYOhPSTmOdJTTRLd s9kFV8+1gvW66Jmx4xoR0YBmJNhimLzIFTlTU/G1pGCnwxHLQIsEZtKW4ocix/Bu NIXH9S0lXKXC/NPTkIlE2+XlwFEnLzXrCeXBtz7GBIhtqioEtwwLeKgi1/axOzU= =zsbH -----END PGP SIGNATURE----- ------enig2FAQPKXIRHLKAMPSGMQCX-- From unknown Sat Jun 21 05:19:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 05 Jun 2013 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14556 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Eric Blake Cc: 14556@debbugs.gnu.org Received: via spool by 14556-submit@debbugs.gnu.org id=B14556.137046078613362 (code B ref 14556); Wed, 05 Jun 2013 19:34:02 +0000 Received: (at 14556) by debbugs.gnu.org; 5 Jun 2013 19:33:06 +0000 Received: from localhost ([127.0.0.1]:52854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkJSD-0003TS-Pa for submit@debbugs.gnu.org; Wed, 05 Jun 2013 15:33:06 -0400 Received: from mail1.vodafone.ie ([213.233.128.43]:50102) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkJSB-0003Sp-Bx for 14556@debbugs.gnu.org; Wed, 05 Jun 2013 15:33:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkDAFaRr1Fdawqx/2dsb2JhbAANTYZ1u38DAYEVgxcBAQEEIw8BRhALDQEDAwECAQICBRYLAgIJAwIBAgE9CAYNAQUCAQEWsxxykT+BJo0mXweCR4EUA54Ajg8 Received: from unknown (HELO [192.168.1.79]) ([93.107.10.177]) by mail1.vodafone.ie with ESMTP; 05 Jun 2013 20:30:51 +0100 Message-ID: <51AF91E7.3060800@draigBrady.com> Date: Wed, 05 Jun 2013 20:30:47 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> <51AE4C10.8020404@redhat.com> <51AF888A.9070202@redhat.com> In-Reply-To: <51AF888A.9070202@redhat.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -1.9 (-) On 06/05/2013 07:50 PM, Eric Blake wrote: > On 06/04/2013 02:20 PM, Eric Blake wrote: >> >> You found another doc bug - I can confirm that the behavior has changed >> in the meantime (I see a change in behavior between my testing on RHEL >> 6.4 with stat 8.4, vs. Fedora 19 with stat 8.17), but do not see the >> change mentioned in NEWS. I suspect the change happened with this >> commit in 8.7: >> >> commit ca9aa7596094c4af094edb7eb63648570d53c100 >> Author: Paul Eggert >> Date: Sat Nov 6 13:57:08 2010 -0700 >> >> stat: do not rely on undefined behavior in printf formats > > I confirmed that this was indeed the point where the behavior changed. > > Any objection to a patch along these lines? I guess it's incomplete, as > I'd also have to edit the NEWS hash since this is touching old news. > Likewise, does the testsuite need to be enhanced to ensure we don't regress? > > From ff67e9a92f8ec64b70abffe8524a56f4f5062a8d Mon Sep 17 00:00:00 2001 > From: Eric Blake > Date: Wed, 5 Jun 2013 12:46:17 -0600 > Subject: [PATCH] doc: mention prior stat change > > Commit ca9aa759 had the side effect of changing 'stat -c "%'s" file' > from outputting "?s" to the nicer "1,234", so this is worth mentioning > in the NEWS. > > * NEWS: Mention 8.7 improvement in stat. > --- > NEWS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/NEWS b/NEWS > index cad5eee..bd6085d 100644 > --- a/NEWS > +++ b/NEWS > @@ -883,6 +883,9 @@ GNU coreutils NEWS > -*- outline -*- > However, with the above change to %X, %Y and %Z, we've made %W work > the same way as the others. > > + stat supports additional flags, such as %'s for listing sizes with > + the current locale's thousands separator. > + looks good thanks. `make update-NEWS-hash` to update the hash before committing. cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 17:03:03 2013 Received: (at control) by debbugs.gnu.org; 5 Jun 2013 21:03:03 +0000 Received: from localhost ([127.0.0.1]:52902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkKrG-0006eY-Jc for submit@debbugs.gnu.org; Wed, 05 Jun 2013 17:03:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61768) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkKrB-0006e8-Uj; Wed, 05 Jun 2013 17:03:00 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r55L0o21022492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Jun 2013 17:00:51 -0400 Received: from [10.3.113.96] (ovpn-113-96.phx2.redhat.com [10.3.113.96]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r55L0nXb009416; Wed, 5 Jun 2013 17:00:50 -0400 Message-ID: <51AFA701.6080905@redhat.com> Date: Wed, 05 Jun 2013 15:00:49 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= Subject: Re: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> <51AE4C10.8020404@redhat.com> <51AF888A.9070202@redhat.com> <51AF91E7.3060800@draigBrady.com> In-Reply-To: <51AF91E7.3060800@draigBrady.com> X-Enigmail-Version: 1.5.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2LHFWODMDRSLPSPHEUDXJ" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: control Cc: 14556-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -7.4 (-------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LHFWODMDRSLPSPHEUDXJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 14556 fixed thanks On 06/05/2013 01:30 PM, P=C3=A1draig Brady wrote: >> >> + stat supports additional flags, such as %'s for listing sizes with >> + the current locale's thousands separator. >> + >=20 > looks good thanks. > `make update-NEWS-hash` to update the hash before committing. Done and pushed; commit message amended to be: doc: mention prior stat change For a file of size 1234 bytes, commit ca9aa759 had the side effect of changing 'stat -c "%'s" file' from outputting "?s" to the nicer "1,234", depending on locale. This is worth mentioning in the NEWS. Resolves part of http://bugs.gnu.org/14556. * NEWS: Mention 8.7 improvement in stat. * cfg.mk (old_NEWS_hash): Adjust accordingly. As both this change and the web page change are now in, I'm also closing out the bug. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2LHFWODMDRSLPSPHEUDXJ 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRr6cBAAoJEKeha0olJ0NqgRkH/An/KzaTcTRjo+Db+4ffahqQ nsMbCc5702PdLGNXO/qaPAOKnX0Wrwz3Gn+zTAQWdNHl0MeIKF5ArnsrAe+CEnrD ZZ7QX5F3v7Q4tpytXF4TaWqLIo5Bbg0DXAP+8h4aMBwWpVfqlQ1hB0t8Q3Xt9w2B rBOhaeCupzd7xdwcJugbPAESIRpxIFMozf4dIIm0B8XZqn40EZ4lk1Wepolx1TuF WC5b4FM+uJLr/Nbvt8P+TpeBGX1SI9DrKoT/jlx6gzOkdFsTclHbfXbZDqjeC7z1 zc1oNP4TppsE1HVFN3muKsWH7SrzlEjx6qv575ia/FLNP+OwrSPhXkHE8w+hgV0= =LrNj -----END PGP SIGNATURE----- ------enig2LHFWODMDRSLPSPHEUDXJ-- From unknown Sat Jun 21 05:19:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eric Blake Subject: bug#14556: closed (Re: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output) Message-ID: References: <51AFA701.6080905@redhat.com> <51AE4C10.8020404@redhat.com> X-Gnu-PR-Message: they-closed 14556 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: fixed Reply-To: 14556@debbugs.gnu.org Date: Wed, 05 Jun 2013 21:04:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1370466243-25711-1" This is a multi-part message in MIME format... ------------=_1370466243-25711-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output 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 14556@debbugs.gnu.org. --=20 14556: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14556 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1370466243-25711-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14556-done) by debbugs.gnu.org; 5 Jun 2013 21:03:02 +0000 Received: from localhost ([127.0.0.1]:52900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkKrF-0006eK-NI for submit@debbugs.gnu.org; Wed, 05 Jun 2013 17:03:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61768) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkKrB-0006e8-Uj; Wed, 05 Jun 2013 17:03:00 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r55L0o21022492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Jun 2013 17:00:51 -0400 Received: from [10.3.113.96] (ovpn-113-96.phx2.redhat.com [10.3.113.96]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r55L0nXb009416; Wed, 5 Jun 2013 17:00:50 -0400 Message-ID: <51AFA701.6080905@redhat.com> Date: Wed, 05 Jun 2013 15:00:49 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= Subject: Re: bug#14556: suggestion for 'ls' coreutil, comma'd filesizes in -l output References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> <51AE4C10.8020404@redhat.com> <51AF888A.9070202@redhat.com> <51AF91E7.3060800@draigBrady.com> In-Reply-To: <51AF91E7.3060800@draigBrady.com> X-Enigmail-Version: 1.5.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2LHFWODMDRSLPSPHEUDXJ" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: 14556-done Cc: 14556-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -7.4 (-------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LHFWODMDRSLPSPHEUDXJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 14556 fixed thanks On 06/05/2013 01:30 PM, P=C3=A1draig Brady wrote: >> >> + stat supports additional flags, such as %'s for listing sizes with >> + the current locale's thousands separator. >> + >=20 > looks good thanks. > `make update-NEWS-hash` to update the hash before committing. Done and pushed; commit message amended to be: doc: mention prior stat change For a file of size 1234 bytes, commit ca9aa759 had the side effect of changing 'stat -c "%'s" file' from outputting "?s" to the nicer "1,234", depending on locale. This is worth mentioning in the NEWS. Resolves part of http://bugs.gnu.org/14556. * NEWS: Mention 8.7 improvement in stat. * cfg.mk (old_NEWS_hash): Adjust accordingly. As both this change and the web page change are now in, I'm also closing out the bug. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2LHFWODMDRSLPSPHEUDXJ 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRr6cBAAoJEKeha0olJ0NqgRkH/An/KzaTcTRjo+Db+4ffahqQ nsMbCc5702PdLGNXO/qaPAOKnX0Wrwz3Gn+zTAQWdNHl0MeIKF5ArnsrAe+CEnrD ZZ7QX5F3v7Q4tpytXF4TaWqLIo5Bbg0DXAP+8h4aMBwWpVfqlQ1hB0t8Q3Xt9w2B rBOhaeCupzd7xdwcJugbPAESIRpxIFMozf4dIIm0B8XZqn40EZ4lk1Wepolx1TuF WC5b4FM+uJLr/Nbvt8P+TpeBGX1SI9DrKoT/jlx6gzOkdFsTclHbfXbZDqjeC7z1 zc1oNP4TppsE1HVFN3muKsWH7SrzlEjx6qv575ia/FLNP+OwrSPhXkHE8w+hgV0= =LrNj -----END PGP SIGNATURE----- ------enig2LHFWODMDRSLPSPHEUDXJ-- ------------=_1370466243-25711-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Jun 2013 20:23:03 +0000 Received: from localhost ([127.0.0.1]:50924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ujxl0-0006Sn-NI for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:23:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49266) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ujxkv-0006S3-NZ for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:23:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujxio-0004iQ-Mo for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:20:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujxio-0004iL-K4 for submit@debbugs.gnu.org; Tue, 04 Jun 2013 16:20:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujxii-0000XM-QA for bug-coreutils@gnu.org; Tue, 04 Jun 2013 16:20:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujxid-0004g3-Qk for bug-coreutils@gnu.org; Tue, 04 Jun 2013 16:20:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujxid-0004fz-Iq; Tue, 04 Jun 2013 16:20:35 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r54KKXRP006150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Jun 2013 16:20:34 -0400 Received: from [10.3.113.96] (ovpn-113-96.phx2.redhat.com [10.3.113.96]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r54KKW1n026389; Tue, 4 Jun 2013 16:20:33 -0400 Message-ID: <51AE4C10.8020404@redhat.com> Date: Tue, 04 Jun 2013 14:20:32 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: smu johnson , bug-coreutils@gnu.org, "coreutils@gnu.org" Subject: Re: suggestion for 'ls' coreutil, comma'd filesizes in -l output References: <51AE2B86.2090108@redhat.com> <51AE3D0E.5060107@redhat.com> In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2HOMFVUNXDANTKFQPMOEV" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.9 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2HOMFVUNXDANTKFQPMOEV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [adding the list back in the loop; also adding bug-coreutils to get a bug number assigned for 2 doc bugs, and slightly reformatting to avoid excessive top-posting] On 06/04/2013 01:44 PM, smu johnson wrote: > I did reply on purpose to you, but only because I wasn't sure about som= e of > the text you wrote in your original reply, and because I didn't realize= it > was a list until now. >=20 > I got the first email address from http://www.gnu.org/software/coreutil= s/, > where it says, "Send general questions or suggestions to: coreutils@gnu= =2Eorg". > It didn't warn me that sending an email is the equivalent to sending to= a > mailing list. So I mistakenly thought you were in charge of answering > emails. My bad, sorry about that. My take on this is that you have discovered a doc bug, in that our web page is not making it clear that our bug reporting address is a publicly archived mailing list (although this setup is typical for most open source projects, it is not universal; and it takes an outsider's perspective like yours to make us realize that we have unstated assumptions that ended up surprising you). We could probably add a sentence or two to the web page that makes it clear that your post goes to a list, that we are unable to scrub anything you post (so even though we do our best to munge things to minimize the effects, we cannot guarantee that spammers will not obtain your address from your post), and that list policy is to reply-to-all to keep you in the loop without forcing you to subscribe to the list. >>> >>> 2) I tried the command you ran, but I seem to be getting different >>> results. I don't really know what I'm doing. >>> >>> sjohnson@piggytin:~$ touch COPYING HACKING >>> sjohnson@piggytin:~$ stat -c "%'s" COPYING HACKING >>> ?s >>> ?s >>=20 >> What does 'stat --version' say? >=20 > To answer your other question, stat (GNU coreutils) 8.5. You found another doc bug - I can confirm that the behavior has changed in the meantime (I see a change in behavior between my testing on RHEL 6.4 with stat 8.4, vs. Fedora 19 with stat 8.17), but do not see the change mentioned in NEWS. I suspect the change happened with this commit in 8.7: commit ca9aa7596094c4af094edb7eb63648570d53c100 Author: Paul Eggert Date: Sat Nov 6 13:57:08 2010 -0700 stat: do not rely on undefined behavior in printf formats As for myself, I'm headed on vacation for most of June, so one of the other list readers will probably beat me to writing these two patches (more details on the list, and supplying the missing NEWS entry). I also found this recently, and thought it was a-propos to this situation: https://rwmj.wordpress.com/2010/11/08/want-help-dont-email-me-directly/ --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2HOMFVUNXDANTKFQPMOEV 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRrkwQAAoJEKeha0olJ0NqbD0IAIA6IEWZxTgfUnny5sbstykE NhpYXLHeGHctwm/9oBkvITION5n3dW0N/AgyKsSS17eBg5Q8nyQgq164zRQCsB5n iOrWaqczCXZnOp9Pb7Gv2JyHIzxUsasGZNRi3Rwxdqfw59q+b/aunanxOJ5MfMoG LL6jhUvntd8ChnYncrwbBnCn8R5qVg8/fP6Rywc/2p1vPWJOR0gZntCfrCg94JvO eROcYdo35XrSlthhV7HTD/Mf5c+mAn1t0nvO2RbLR1t5hEA90Qzf+0IMuncs2cVZ mD3rx8sykwHbiFyDG1aIKHCeKKeHRGxSJSRICs/0A8/AXkAbJI9qEQnDYMGQikQ= =Qi5w -----END PGP SIGNATURE----- ------enig2HOMFVUNXDANTKFQPMOEV-- ------------=_1370466243-25711-1--