[Toybox] id implementation

Rob Landley rob at landley.net
Fri Jan 27 04:50:35 PST 2012


On 01/26/2012 04:17 PM, Tim Bird wrote:
> Just to check things out, I implemented a rudimentary version
> of 'id'.
> 
> Normally I'd send a patch, but since this is for one full self-contained
> source file, I'm just going to attach it.
> 
> Let me know if I messed something up, or should send this in another
> format.

Let's see...

Typo in command description (fixed).

You don't need to #include unistd or sys/types.h, toys.h includes those
for you (trimmed).

USE_UNAME() should be USE_ID() or it'll only work when uname is
configured in (fixed).

Other than that, looks good.  Committed.

Thanks,

Rob

 1327668635.0


More information about the Toybox mailing list