Subject: Re: ls -lsh
To: None <tech-userlevel@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-userlevel
Date: 08/05/2004 16:26:21
--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

cgd@broadcom.com wrote:
=20
> In particular, note that:
>=20
> > (FWIW, Linux ls(1) reports
> > 516k -rw-------  1 jschauma cs 512k Aug  5 14:54 /var/tmp/foo
> > whatever that's supposed to mean.)
>=20
> Is not very strange at all, and really is the obvious answer to the
> question:
>=20
> when -s is used in combination with -h, have the -s ("storage
> consumed", if you will) value be shown in a human readable form,
> rather than that not-human-friendly 512 byt block count.

Ok, fair enough.  So why doesn't our ls(1) do that, then?

-Jan

--=20
DON'T PANIC!

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFBEpftfFtkr68iakwRAnOeAJoDC2BuUX2RjltWfKeNw3DEZt3TLQCeKIy7
jP8JysB5u86zGBbcNky8VoI=
=LNTA
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--