[Toybox] [PATCH] Add xxd -p and -r.

Rob Landley rob at landley.net
Fri Feb 19 09:53:29 PST 2016


On Thu, Feb 18, 2016 at 11:33 PM, enh <enh at google.com> wrote:
> SELinux denials include hex-encoded paths in the log messages; xxd -r -p is
> a convenient way to decode them.
>
> The heuristics are a little weird to my mind, but match the documentation
> and observed behavior.

I'm guessing optstring shoudl have [!pcg] at the end?

> ---
>  tests/xxd.test   | 19 ++++++++++++++
>  toys/other/xxd.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
>  2 files changed, 92 insertions(+), 7 deletions(-)

Why does posix even bother having od if nobody seems to use it?

(Why does posix still maintain its standard documents in SCCS?
Seriously, sccs->rcs->cvs->svn->bk->git means it's _5_ generations
behind...)

Rob

 1455904409.0


More information about the Toybox mailing list