GNU bug report logs - #7365
stat bug: %Z appends .000000000

Previous Next

Package: coreutils;

Reported by: IgnorantGuru <ignorantguru <at> users.sourceforge.net>

Date: Wed, 10 Nov 2010 16:30:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: IgnorantGuru <ignorantguru <at> users.sourceforge.net>
To: bug-coreutils <at> gnu.org
Cc: IgnorantGuru <ignorantguru <at> users.sourceforge.net>
Subject: stat bug: %Z appends .000000000
Date: Wed, 10 Nov 2010 07:59:13 -0700
$ 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")




This bug report was last modified 14 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.