|
From: | smu johnson |
Subject: | Re: suggestion for 'ls' coreutil, comma'd filesizes in -l output |
Date: | Tue, 4 Jun 2013 14:51:43 -0700 |
More generically, if we had a --format argument that allowed you to useOn 06/04/2013 11:23 AM, smu johnson wrote:
% 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
[Prev in Thread] | Current Thread | [Next in Thread] |