[Toybox] [landley/toybox] xxd -i: not expected behaviour (#286)
Rob Landley
rob at landley.net
Thu Jun 24 11:24:57 PDT 2021
On 6/24/21 12:50 PM, Rob Landley wrote:
> I lean towards adding a capital version of the existing option (-I) that skips
> the header/trailer stuff, and we can even poke the vim guys about it to make
> Denys happy. :)
*boggle*
I started to patch the vim one and... it already supports this? It won't produce
header/footer output for stdin:
$ echo "look ma no header/footer" | xxd -i
0x6c, 0x6f, 0x6f, 0x6b, 0x20, 0x6d, 0x61, 0x20, 0x6e, 0x6f, 0x20, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x2f, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72,
0x0a
And both the busybox and toybox ones already get this right?
We can still add -I if you like, but... seems less vital now? More like a
documentation update.
Rob
More information about the Toybox
mailing list