Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-05-19 Thread Rob Landley
On 05/09/2017 10:59 AM, enh wrote: > what's the plan? "half an eye is better than no eye" (especially when > no-one else has this particular missing eye), or "rewrite the test to > use --full-time"? > > since i personally have never needed %N except for getting this test > to run, i'm happy to do

Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-05-11 Thread Rob Landley
On 05/09/2017 10:59 AM, enh wrote: > what's the plan? "half an eye is better than no eye" (especially when > no-one else has this particular missing eye), or "rewrite the test to > use --full-time"? > > since i personally have never needed %N except for getting this test > to run, i'm happy to do

Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-05-09 Thread enh
what's the plan? "half an eye is better than no eye" (especially when no-one else has this particular missing eye), or "rewrite the test to use --full-time"? since i personally have never needed %N except for getting this test to run, i'm happy to do either. On Mon, Apr 17, 2017 at 9:42 AM, enh

Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-04-17 Thread enh
take 2 (switches to next_printf, fixes the %%N case): tests/date.test | 14 ++ toys/posix/date.c | 50 +++--- 2 files changed, 53 insertions(+), 11 deletions(-) On Sun, Apr 16, 2017 at 4:22 PM, Rob Landley wrote: > On 04/16/2017 03:51

Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-04-16 Thread Rob Landley
On 04/16/2017 03:51 PM, enh wrote: > yeah, definitely a mess. > > note that i only did this because (a) existing tests were using it and > (b) busybox has it too. i've been assuming (perhaps incorrectly) that > busybox also tried to avoid needlessly implementing GNU extensions > unless they were a

Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-04-16 Thread enh
On Sun, Apr 16, 2017 at 1:28 PM, Rob Landley wrote: > On 04/15/2017 01:17 PM, enh wrote: > > > > Used by the toybox touch test suite (and thus necessary to pass the > toybox > > tests on a toybox-only system). > > Did I ever actually post my rant on this topic? Or just compose it and > save as dr

Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-04-16 Thread Rob Landley
On 04/16/2017 03:28 PM, Rob Landley wrote: > It's kind of sad "ls" can't show nanoseconds. It's ls --full-time (which implies -l) Added to the todo heap... Rob ___ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybo

Re: [Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-04-16 Thread Rob Landley
On 04/15/2017 01:17 PM, enh wrote: > > Used by the toybox touch test suite (and thus necessary to pass the toybox > tests on a toybox-only system). Did I ever actually post my rant on this topic? Or just compose it and save as draft. This is really really libc's job, it's a pity the gnu guys did

[Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-04-15 Thread enh
Used by the toybox touch test suite (and thus necessary to pass the toybox tests on a toybox-only system). --- tests/date.test | 10 ++ toys/posix/date.c | 50 +++--- 2 files changed, 49 insertions(+), 11 deletions(-) From c998db70bb5a47f2290d3