[Toybox] [PATCH] Fix ls -sh.

Rob Landley rob at landley.net
Mon Aug 29 11:13:24 PDT 2016


On 08/29/2016 11:15 AM, enh wrote:
> On Sat, Aug 27, 2016 at 9:08 PM, Rob Landley <rob at landley.net> wrote:
>> On 08/27/2016 12:25 PM, enh wrote:
>>> ping. (i'd like to get this into my weekly sync, since it was reported
>>> as a bug.)
>>
>> Sorry, I wanted to take a stab at cleaning up the redundancy, but my
>> todo list hit some sort of critical mass a couple months back and has
>> not let up. (Downside of a day job that does _not_ let you devote half
>> of each working day to open source stuff.
> 
> ah... i often wonder where you manage to find the time!

I stopped watching broadcast television in 2001? (Outside of netflix,
anyway.)

No really, Clay Shirky gave a (marvelous) talk about this back in 2008.
Transcript:

https://web.archive.org/web/20081004095657/http://www.shirky.com/herecomeseverybody/2008/04/looking-for-the-mouse.html

Video of the actual talk (about 20 minutes total):

part 1: https://www.youtube.com/watch?v=AyoNHIl-QLQ
part 2: https://www.youtube.com/watch?v=jNCblGv0zjU

It's one of the ones I put in the videos worth watching section of
http://kernel.org/doc back in the day.

> that's the
> reason i tend to ping at weekends: it's easier for me to find some
> time then.

I'm in San Diego through February, and my schedule is waaaay different
here than back home in Austin. I myself don't know when I have spare
time these days...

That said I'm trying to get a release out this coming month. Loosely
aiming for the 15th, trying not to slip past the 30th.

>> Not exactly. It looks like the host is hardwiring -k on. Sigh. I can do
>> that too. (Opinions? I didn't think it _used_ to do that, but I keep
>> upgrading my ubuntu version and the behavior of ls subtly changes out
>> from under me and what I tested against is no longer true...)
> 
> i've warned the folks who reported the original bug to me, and i'll
> let you know if they have any comments. i assume they'll be happy to
> match the host though. (they're the folks responsible for
> reproduceable builds/unnecessary build bloat.)

Yay! I've been meaning to talk to the reproducible builds people,
because http://landley.net/aboriginal/about.html#hairball let alone
http://landley.net/aboriginal/about.html#selfhost .

Is this lot on https://reproducible-builds.org/who/ ?

>> Anyway, the usefulness of the -s field is when there's holes, but it
>> might as well be "actual bytes used". I'd happily change it to use units
>> of bytes, but compatibility... (Although see above!)
>>
>> As long as we're twiddling -h, do you want it to change the date format
>> to do the "Aug 27 12:34" thing (instead of "2016-08-27 12:34"?)
> 
> i _personally_ don't. i like iso and find anything else annoying
> (especially because you always end up with a mix). i'll let you know
> if i ever hear complaints.

*shrug* Ok.

> fwiw, this ls -sh bug has been the first real bug in a while. (given
> that i can't change the past and fix things in old releases.)

Woot!

Rob



More information about the Toybox mailing list