[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing actual filesizes with ls

From: James Youngman
Subject: Re: Showing actual filesizes with ls
Date: Tue, 25 Jan 2005 00:44:14 +0000
User-agent: Mutt/1.3.28i

On Mon, Jan 24, 2005 at 04:00:33PM -0800, Paul Eggert wrote:

> This sounds a bit too much like creeping featurism.  How about if we
> just add a more-general argument that lets you specify the desired
> output fields, as a format string?  That's in the TODO list.  It
> would solve your problem, no?

It would be nice to have that working the same way in coreutils and
findutils.  This is already implemented in findutils (most of the
information other than the filename comes from struct stat -
exceptions are %d and the formats which print the filename or parts of

At the moment, the findutils for handling -printf and -fprintf uses
human_readable() to print numbers.  This works well, but it makes
implementing the format flags like # and friends difficult.  Still, if
these did converge it would make a good gnulib module.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]