<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 21, 2021 at 6:18 PM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 9/21/21 2:56 PM, enh via Toybox wrote:<br>
> (I was looking at this code because I was looking at the output in a bug<br>
> report, and wasn't sure what `up 1:09` meant. It's annoying that -p is<br>
> a lot more readable, but doesn't include load averages, otherwise I'd be<br>
> tempted to move Android's bugreports over to `uptime -p` so that no-one<br>
> would ever have to scratch their heads about this again...)<br>
<br>
I have just made Denys Vlasenko sad.<br></blockquote><div><br></div><div>i didn't understand what you meant here until i looked at taking another update :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Rob<br>
<br>
(Not that I feel THAT bad about it since the move from bash 4.4.2 to 5.0.3 BROKE<br>
THREE of my "TEST_HOST=1 make test_sh" regression tests. Grumble grumble<br>
compatibility with a moving target. We need an actual bash _standard_.)<br></blockquote><div><br></div><div>it's not just bash either. a lot of tools change their human-readable text, or change their spacing or whatever.</div><div><br></div><div>the more i think about -p though, the more ironic it seems: it's explicitly the "pretty" human-readable form ... yet the default form is so weird that the human-readable form is probably _easier_ to parse with a regex anyway!</div><div><br></div><div>speaking of humans: someone just sent me a change to make strerror(3) text like "Try again" be "Try again (EAGAIN)" [<a href="https://android-review.googlesource.com/c/platform/bionic/+/1833622">https://android-review.googlesource.com/c/platform/bionic/+/1833622</a>] and -- once they've fixed the tests i think exist and will be broken by this -- i'm tempted to say "unusual, but a good idea nonetheless"...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
Toybox mailing list<br>
<a href="mailto:Toybox@lists.landley.net" target="_blank">Toybox@lists.landley.net</a><br>
<a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" rel="noreferrer" target="_blank">http://lists.landley.net/listinfo.cgi/toybox-landley.net</a><br>
</blockquote></div></div>