|
From: | Eric Blake |
Subject: | Re: [coreutils] Re: [PATCH 2/2] stat: print timestamps to full resolution |
Date: | Thu, 21 Oct 2010 08:13:34 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4 |
On 10/21/2010 08:09 AM, Andreas Schwab wrote:
Eric Blake<address@hidden> writes:On 10/21/2010 03:22 AM, Andreas Schwab wrote:Jim Meyering<address@hidden> writes:And besides, with coreutils-8.6 already released, reverting the change is no longer an option.Why? I'm pretty sure more breakage will pop up over time.How would you propose 'fixing' it?Add a flag character, eg. %.X.
%.X is no good, since we already support %.1X (that is, all printf() flags should keep their existing printf() meaning). But Jim's proposal of %:X for extended stat info, especially given how date already supports %:z for extended timezone formatting, makes sense to me. In fact, %.3:X might be a nice way to request that the result be displayed in milliseconds, although Jim's proof of concept patch didn't cover that aspect.
-- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |