diff options
author | Elliott Hughes <enh@google.com> | 2017-12-24 00:42:38 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-12-26 22:28:10 -0600 |
commit | 215a6af5f83e7866751f24fc61f709b444e61c1d (patch) | |
tree | c1365d13267256e6fc1877ab3f238b6f5ac0ea32 /toys/posix/cut.c | |
parent | 70a6c55499eabf1229dfb0b49f08b366cbaa7896 (diff) | |
download | toybox-215a6af5f83e7866751f24fc61f709b444e61c1d.tar.gz |
Add xxd -i (and xxd -ri).
The original xxd doesn't support -r with -i. The original also outputs
"unsigned char name[] = { ... };" for input other than stdin, but that
actually makes it less useful --- many languages support array
initializers, but far fewer support that exact declaration syntax.
Also fix the -c range checking and defaulting: ><= in the argument string
only works for floating point arguments.
Bug: http://b/64711851
Diffstat (limited to 'toys/posix/cut.c')
0 files changed, 0 insertions, 0 deletions