Subject: Humanization of ls(1)
To: None <tech-userlevel@netbsd.org>
From: David P. Reese Jr. <daver@gomerbud.com>
List: tech-userlevel
Date: 12/20/2003 20:24:09
I'm playing around with humanization of ls output.  I am concerned with
an aspect of it's behavior.

   When using '-sh', should the file sizes be printed in bytes or
   blocks?

I feel kind of uncomfortable having '-h' change the unit of measurement.
This may be ok if it forces every measurement to be in bytes.  If this
is the case, then the first row of `ls -lsh` will be a duplicate of the
sixth row.  I need some advice for dealing with the humanized output in
a consistent way.

-- 
   David P. Reese, Jr.                                  daver at gomerbud.com
                                               http://www.gomerbud.com/daver/