--- Begin Message ---
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")
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#7365: stat bug: %Z appends .000000000 |
Date: |
Sun, 14 Nov 2010 19:09:07 +0100 |
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".
--- End Message ---