Re: suggestion for 'ls' coreutil, comma'd filesizes in -l output (original) (raw)
I like the sound of this idea.
On Tue, Jun 4, 2013 at 11:01 AM, Eric Blake <address@hidden> wrote:
On 06/04/2013 11:23 AM, smu johnson wrote:
More generically, if we had a --format argument that allowed you to use
% tokens for all elements to be listed, then you can use a printf-style
' modifier in the element that lists file size, as well as any other
tweak you want to make in the line layout.In fact, stat already has that:
$ stat -c "%'s" COPYING HACKING
35,147
24,005--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
--
smu johnson <address@hidden>