[Toybox] [PATCH] new toys groups and whoami

Rob Landley rob at landley.net
Sun Feb 26 08:24:56 PST 2012


On 02/24/2012 02:04 AM, Daniel Walter wrote:
> new toys groups and whoami
> 
>  * fixed wrong path for id (should be /usr/bin/id)
>
> --
> comments are welcome.

Hmmm...

One of the things I'm doing is script wrappers for really _obvious_
stuff; see the "wrappers" directory.

Possibly these are better as wrappers, ala:

whoami:
  #!/bin/sh

  id -un

I note that I haven't got an _installer_ for the wrappers yet.  And they
don't hook into the "help" command, or show up in toybox's big list of
available commands.  Possibly they're not a good idea at all, and it
should all just be C code.  (That has the adantage that you can drop a
statically linked toybox binary on a system and get everything.)

I thought I'd throw the issue out there; I'm open to suggestions on this
one...

Rob

 1330273496.0


More information about the Toybox mailing list