From unknown Sat Sep 13 17:05:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7365: stat bug: %Z appends .000000000 Resent-From: IgnorantGuru Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 10 Nov 2010 16:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7365 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 7365@debbugs.gnu.org Cc: IgnorantGuru X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12894065666649 (code B ref -1); Wed, 10 Nov 2010 16:30:03 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2010 16:29:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGDY5-0001jB-CY for submit@debbugs.gnu.org; Wed, 10 Nov 2010 11:29:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGC4N-0000yq-Pv for submit@debbugs.gnu.org; Wed, 10 Nov 2010 09:54:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGC8w-000307-LI for submit@debbugs.gnu.org; Wed, 10 Nov 2010 09:59:23 -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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:37495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGC8w-000301-JI for submit@debbugs.gnu.org; Wed, 10 Nov 2010 09:59:22 -0500 Received: from [140.186.70.92] (port=49470 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGC8v-0004ca-La for bug-coreutils@gnu.org; Wed, 10 Nov 2010 09:59:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGC8u-0002zO-Fp for bug-coreutils@gnu.org; Wed, 10 Nov 2010 09:59:21 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:38305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGC8u-0002z9-Cv for bug-coreutils@gnu.org; Wed, 10 Nov 2010 09:59:20 -0500 Received: by iwn9 with SMTP id 9so1041761iwn.0 for ; Wed, 10 Nov 2010 06:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:sender:date:from :to:cc:subject:x-mailer:mime-version:content-type :content-transfer-encoding; bh=/4o4chm33Cw7Lr1MryBQ4ylYxlZ/8O4x2h2TIZGEBT8=; b=iZV0w3XcAX7xXLkmxnXJf8i0iJnV3Pbhc5F0O/dct6/j1deBrU6MhsbitGz4QR6A62 nqPDPnD71zkSbLVZLxXDqmvOk3CUBfaZtkM8dc/h115pJpc4kILeKAH1GZx3jw7hb2uc 9MISksV+5DpIaMCWcxwJ0g14CW9WOo0Tddpb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:sender:date:from:to:cc:subject:x-mailer:mime-version :content-type:content-transfer-encoding; b=ZKEsGdKc1wzdIHgJf7Q5uTKq8ITDz2JbKd3Sp2gzijWRUy5vrPNttlLSrC59iHg5NY 5Ukl2eJBnGRTBnC9SgCtceTB0FWpB3g2wRLWH+CoFiAatPkZK/uCvMhDcPuAR906c40x vmHBBt8vQqY1ckG2naQvNHBUdA3N4ChLosWek= Received: by 10.231.19.74 with SMTP id z10mr6406572iba.120.1289401157088; Wed, 10 Nov 2010 06:59:17 -0800 (PST) Received: from localhost ([69.170.212.251]) by mx.google.com with ESMTPS id gy41sm956143ibb.11.2010.11.10.06.59.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 06:59:16 -0800 (PST) Message-ID: <4cdab344.29d6e70a.3d51.21a4@mx.google.com> Date: Wed, 10 Nov 2010 07:59:13 -0700 From: IgnorantGuru X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 10 Nov 2010 11:29:24 -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: -5.9 (-----) $ stat -c %Z examplefile 1289397609.000000000 stat (GNU coreutils) 8.6 installed from Arch Linux repos, executing in a bash shell. This behavior changed recently - didn't used to have the .000000000 which breaks scripts that use stat. eg line 297: ((: 1289301692.000000000: syntax error: invalid arithmetic operator (error token is ".000000000") From unknown Sat Sep 13 17:05:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7365: stat bug: %Z appends .000000000 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, 10 Nov 2010 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7365 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: IgnorantGuru Cc: 7365@debbugs.gnu.org Received: via spool by 7365-submit@debbugs.gnu.org id=B7365.12894118729119 (code B ref 7365); Wed, 10 Nov 2010 17:58:02 +0000 Received: (at 7365) by debbugs.gnu.org; 10 Nov 2010 17:57:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGEvf-0002N2-SB for submit@debbugs.gnu.org; Wed, 10 Nov 2010 12:57:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGEvc-0002Mv-L2 for 7365@debbugs.gnu.org; Wed, 10 Nov 2010 12:57:50 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAAI2WUQ015332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Nov 2010 13:02:32 -0500 Received: from [10.3.113.96] (ovpn-113-96.phx2.redhat.com [10.3.113.96]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAAI2VM9001020; Wed, 10 Nov 2010 13:02:31 -0500 Message-ID: <4CDADE36.9080507@redhat.com> Date: Wed, 10 Nov 2010 11:02:30 -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: <4cdab344.29d6e70a.3d51.21a4@mx.google.com> In-Reply-To: <4cdab344.29d6e70a.3d51.21a4@mx.google.com> 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="------------enigC2ACE07AB40A27BB495E2CF7" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 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) --------------enigC2ACE07AB40A27BB495E2CF7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/10/2010 07:59 AM, IgnorantGuru wrote: > $ stat -c %Z examplefile=20 > 1289397609.000000000 >=20 > stat (GNU coreutils) 8.6 installed from Arch Linux repos, executing in = a bash shell. >=20 > This behavior changed recently - didn't used to have the .000000000 whi= ch breaks scripts that use stat. eg > line 297: ((: 1289301692.000000000: syntax error: invalid arithmetic op= erator (error token is ".000000000") Technically, this is not a bug, since it was documented in NEWS: stat now outputs the full sub-second resolution for the atime, mtime, and ctime values since the Epoch, when using the %X, %Y, and %Z directives of the --format option. This matches the fact that %x, %y, and %z were already doing so for the human-readable variant. However, it has already been discussed (extensively!) on this list that it was somewhat an undesirable change, so for the soon-to-be-released 8.7, the behavior is changing yet again: http://lists.gnu.org/archive/html/bug-coreutils/2010-11/msg00076.html stat's %X, %Y, and %Z directives once again print only the integer part of seconds since the epoch. This reverts a change from coreutils-8.6, that was deemed unnecessarily disruptive. To obtain a full resolution time stamp for %X, use %.X; if you want (say) just 3 fractional digits, use %.3X. Likewise for %Y and %Z. stat's new %W format directive would print floating point seconds. However, with the above change to %X, %Y and %Z, we've made %W work the same way as the others. so that %Z will once again omit nanoseconds, %.Z will print 9 nanoseconds, %#.Z will print as many non-zero fractional seconds as supported by the fs, and %#.3Z will truncate to milliseconds. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigC2ACE07AB40A27BB495E2CF7 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/ iQEcBAEBCAAGBQJM2t42AAoJEKeha0olJ0Nql+cH/ijVxjs7GbcSUAqsEv3IGw6n BbFT0B037sjywavrsRN1jj0vNN2qtC5Nd9MRmL2V/njTv4QRc4QcuVUQ+JtUtNW6 ucZfE4OXv/gjz1YJi82PY4P2d0WjRU6lW1ov7lV3sXr+djQj0nXTTDk6PfZh5PC0 fKxylVgcsC1JOewKmw3iCbQgkKVdK7VaPJ7s0F7FPf10nCb9yuKrQECIRSF3fSdW xVePbIlaxUwU3lPf/kE+DmmUgX6Y9ALX9bvuJioKuMN8G1lv3Uhjx9eoB2hAgM5N J3ooc4GjcV7PjYy67+E7uI1UvbgBA4qrBv7t0rzPsKdA+2RKGEYOnjVVjJ0ls4U= =8ubc -----END PGP SIGNATURE----- --------------enigC2ACE07AB40A27BB495E2CF7-- From unknown Sat Sep 13 17:05:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7365: stat bug: %Z appends .000000000 Resent-From: IgnorantGuru Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 10 Nov 2010 18:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7365 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Eric Blake Cc: 7365@debbugs.gnu.org Received: via spool by 7365-submit@debbugs.gnu.org id=B7365.12894131629743 (code B ref 7365); Wed, 10 Nov 2010 18:20:03 +0000 Received: (at 7365) by debbugs.gnu.org; 10 Nov 2010 18:19:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGFGT-0002X6-Nt for submit@debbugs.gnu.org; Wed, 10 Nov 2010 13:19:22 -0500 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGFGR-0002X1-Vs for 7365@debbugs.gnu.org; Wed, 10 Nov 2010 13:19:20 -0500 Received: by iwn40 with SMTP id 40so1073014iwn.3 for <7365@debbugs.gnu.org>; Wed, 10 Nov 2010 10:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:sender:date:from :to:cc:subject:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=DUhEEH6ABERUH3QlytXAuo3FhgdW/23ezoEb0+edF0o=; b=Z18S+eRb0Z37n4XV5iFGsHOV/kthfIrtoNiM5DEbXs45kVCL8L5BU8nlBIhpQCMnvM ITSwFBN+bnmcrq5wEaJQPG6P1Jq6MTvDYb4gD1JbNIhpJx4kmMwtLMgp2yqgFDfbpgdL tPiCqx6ZmimO1F6w7K9RxiqeUaU+EW+UL+Fn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:sender:date:from:to:cc:subject:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=JAPnLdswUsovvRuUmwUSVOjF8r9WN6upJTtqFMC+0xp2tVEztKsM0gt5Rqkkr/uJzY DEp7UtqCTduZ+wHyHxe6BS+caLr5VqKbBp9IZfjz3F4etxmVu8eYxA4sVdoE1QwUH6t+ 1I9q2OoAc9M0hRZrvyONCc0+LeZ82yRHV4IBw= Received: by 10.231.85.137 with SMTP id o9mr6734529ibl.130.1289413443773; Wed, 10 Nov 2010 10:24:03 -0800 (PST) Received: from localhost ([69.170.212.251]) by mx.google.com with ESMTPS id 8sm1158959iba.4.2010.11.10.10.24.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 10:24:03 -0800 (PST) Message-ID: <4cdae343.4800e70a.15cf.29e5@mx.google.com> Date: Wed, 10 Nov 2010 11:24:01 -0700 From: IgnorantGuru In-Reply-To: <4CDADE36.9080507@redhat.com> References: <4cdab344.29d6e70a.3d51.21a4@mx.google.com> <4CDADE36.9080507@redhat.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) 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: -3.7 (---) Thanks for the explanation - I definitely think maintaining backward compatibility is a better approach. There is far too much breakage of software in linux as it is. On Wed, 10 Nov 2010 11:02:30 -0700 Eric Blake wrote: > On 11/10/2010 07:59 AM, IgnorantGuru wrote: > > $ stat -c %Z examplefile > > 1289397609.000000000 > > > > stat (GNU coreutils) 8.6 installed from Arch Linux repos, executing > > in a bash shell. > > > > This behavior changed recently - didn't used to have the .000000000 > > which breaks scripts that use stat. eg line 297: ((: > > 1289301692.000000000: syntax error: invalid arithmetic operator > > (error token is ".000000000") > > Technically, this is not a bug, since it was documented in NEWS: > > stat now outputs the full sub-second resolution for the atime, > mtime, and ctime values since the Epoch, when using the %X, %Y, and > %Z directives of the --format option. This matches the fact that > %x, %y, and %z were already doing so for the human-readable variant. > > However, it has already been discussed (extensively!) on this list > that it was somewhat an undesirable change, so for the > soon-to-be-released 8.7, the behavior is changing yet again: > > http://lists.gnu.org/archive/html/bug-coreutils/2010-11/msg00076.html > > stat's %X, %Y, and %Z directives once again print only the integer > part of seconds since the epoch. This reverts a change from > coreutils-8.6, that was deemed unnecessarily disruptive. To obtain > a full resolution time stamp for %X, use %.X; if you want (say) just > 3 fractional digits, use %.3X. Likewise for %Y and %Z. > > stat's new %W format directive would print floating point seconds. > However, with the above change to %X, %Y and %Z, we've made %W work > the same way as the others. > > so that %Z will once again omit nanoseconds, %.Z will print 9 > nanoseconds, %#.Z will print as many non-zero fractional seconds as > supported by the fs, and %#.3Z will truncate to milliseconds. > From unknown Sat Sep 13 17:05:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7365: stat bug: %Z appends .000000000 Resent-From: James Youngman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 11 Nov 2010 13:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7365 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: IgnorantGuru Cc: Eric Blake , 7365@debbugs.gnu.org Received: via spool by 7365-submit@debbugs.gnu.org id=B7365.128948324110314 (code B ref 7365); Thu, 11 Nov 2010 13:48:01 +0000 Received: (at 7365) by debbugs.gnu.org; 11 Nov 2010 13:47:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGXUn-0002gJ-41 for submit@debbugs.gnu.org; Thu, 11 Nov 2010 08:47:21 -0500 Received: from mail-ww0-f41.google.com ([74.125.82.41]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGXUl-0002gC-Qi for 7365@debbugs.gnu.org; Thu, 11 Nov 2010 08:47:20 -0500 Received: by wwc33 with SMTP id 33so1441002wwc.0 for <7365@debbugs.gnu.org>; Thu, 11 Nov 2010 05:52:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.128.204 with SMTP id l12mr863878wbs.136.1289483524926; Thu, 11 Nov 2010 05:52:04 -0800 (PST) Received: by 10.216.231.31 with HTTP; Thu, 11 Nov 2010 05:52:04 -0800 (PST) In-Reply-To: <4cdae343.4800e70a.15cf.29e5@mx.google.com> References: <4cdab344.29d6e70a.3d51.21a4@mx.google.com> <4CDADE36.9080507@redhat.com> <4cdae343.4800e70a.15cf.29e5@mx.google.com> Date: Thu, 11 Nov 2010 13:52:04 +0000 X-Google-Sender-Auth: lONZwikGVaaU4hCWuLYgeaK6OPo Message-ID: From: James Youngman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) 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.6 (--) On Wed, Nov 10, 2010 at 6:24 PM, IgnorantGuru wrote: > Thanks for the explanation - I definitely think maintaining backward comp= atibility is a better approach. =C2=A0There is far too much breakage of sof= tware in linux as it is. FWIW, GNU findutils does the same thing. I don't think anybody complained about this. James. From unknown Sat Sep 13 17:05: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: IgnorantGuru Subject: bug#7365: closed (Re: bug#7365: stat bug: %Z appends .000000000) Message-ID: References: <87k4kf22ws.fsf@meyering.net> <4cdab344.29d6e70a.3d51.21a4@mx.google.com> X-Gnu-PR-Message: they-closed 7365 X-Gnu-PR-Package: coreutils Reply-To: 7365@debbugs.gnu.org Date: Sun, 14 Nov 2010 18:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1289757902-30487-1" This is a multi-part message in MIME format... ------------=_1289757902-30487-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7365: stat bug: %Z appends .000000000 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 7365@debbugs.gnu.org. --=20 7365: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7365 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1289757902-30487-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7365-done) by debbugs.gnu.org; 14 Nov 2010 18:04:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHgw2-0007vU-VL for submit@debbugs.gnu.org; Sun, 14 Nov 2010 13:04:15 -0500 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHgw1-0007vP-CL for 7365-done@debbugs.gnu.org; Sun, 14 Nov 2010 13:04:13 -0500 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id B03816020B; Sun, 14 Nov 2010 19:09:07 +0100 (CET) From: Jim Meyering To: IgnorantGuru Subject: Re: bug#7365: stat bug: %Z appends .000000000 In-Reply-To: <4cdae343.4800e70a.15cf.29e5@mx.google.com> (ignorantguru@users.sourceforge.net's message of "Wed, 10 Nov 2010 11:24:01 -0700") References: <4cdab344.29d6e70a.3d51.21a4@mx.google.com> <4CDADE36.9080507@redhat.com> <4cdae343.4800e70a.15cf.29e5@mx.google.com> Date: Sun, 14 Nov 2010 19:09:07 +0100 Message-ID: <87k4kf22ws.fsf@meyering.net> Lines: 7 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 7365-done Cc: Eric Blake , 7365-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: -5.6 (-----) IgnorantGuru wrote: > Thanks for the explanation - I definitely think maintaining backward > compatibility is a better approach. There is far too much breakage of > software in linux as it is. coreutils-8.7 (just released) is better in this respect. I'm marking this issue as "done". ------------=_1289757902-30487-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Nov 2010 16:29:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGDY5-0001jB-CY for submit@debbugs.gnu.org; Wed, 10 Nov 2010 11:29:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGC4N-0000yq-Pv for submit@debbugs.gnu.org; Wed, 10 Nov 2010 09:54:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGC8w-000307-LI for submit@debbugs.gnu.org; Wed, 10 Nov 2010 09:59:23 -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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:37495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGC8w-000301-JI for submit@debbugs.gnu.org; Wed, 10 Nov 2010 09:59:22 -0500 Received: from [140.186.70.92] (port=49470 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGC8v-0004ca-La for bug-coreutils@gnu.org; Wed, 10 Nov 2010 09:59:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGC8u-0002zO-Fp for bug-coreutils@gnu.org; Wed, 10 Nov 2010 09:59:21 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:38305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGC8u-0002z9-Cv for bug-coreutils@gnu.org; Wed, 10 Nov 2010 09:59:20 -0500 Received: by iwn9 with SMTP id 9so1041761iwn.0 for ; Wed, 10 Nov 2010 06:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:sender:date:from :to:cc:subject:x-mailer:mime-version:content-type :content-transfer-encoding; bh=/4o4chm33Cw7Lr1MryBQ4ylYxlZ/8O4x2h2TIZGEBT8=; b=iZV0w3XcAX7xXLkmxnXJf8i0iJnV3Pbhc5F0O/dct6/j1deBrU6MhsbitGz4QR6A62 nqPDPnD71zkSbLVZLxXDqmvOk3CUBfaZtkM8dc/h115pJpc4kILeKAH1GZx3jw7hb2uc 9MISksV+5DpIaMCWcxwJ0g14CW9WOo0Tddpb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:sender:date:from:to:cc:subject:x-mailer:mime-version :content-type:content-transfer-encoding; b=ZKEsGdKc1wzdIHgJf7Q5uTKq8ITDz2JbKd3Sp2gzijWRUy5vrPNttlLSrC59iHg5NY 5Ukl2eJBnGRTBnC9SgCtceTB0FWpB3g2wRLWH+CoFiAatPkZK/uCvMhDcPuAR906c40x vmHBBt8vQqY1ckG2naQvNHBUdA3N4ChLosWek= Received: by 10.231.19.74 with SMTP id z10mr6406572iba.120.1289401157088; Wed, 10 Nov 2010 06:59:17 -0800 (PST) Received: from localhost ([69.170.212.251]) by mx.google.com with ESMTPS id gy41sm956143ibb.11.2010.11.10.06.59.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 06:59:16 -0800 (PST) Message-ID: <4cdab344.29d6e70a.3d51.21a4@mx.google.com> Date: Wed, 10 Nov 2010 07:59:13 -0700 From: IgnorantGuru To: bug-coreutils@gnu.org Subject: stat bug: %Z appends .000000000 X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 10 Nov 2010 11:29:24 -0500 Cc: IgnorantGuru 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: -5.9 (-----) $ stat -c %Z examplefile 1289397609.000000000 stat (GNU coreutils) 8.6 installed from Arch Linux repos, executing in a bash shell. This behavior changed recently - didn't used to have the .000000000 which breaks scripts that use stat. eg line 297: ((: 1289301692.000000000: syntax error: invalid arithmetic operator (error token is ".000000000") ------------=_1289757902-30487-1--