aboutsummaryrefslogtreecommitdiff
path: root/toys/other/xxd.c
AgeCommit message (Collapse)Author
2018-11-02Convert more option vars to the new (single letter) coding style.Rob Landley
2018-05-06Fix bug in 'xxd' causing incorrect translation for upper-case characters.Zach van Rijn
2018-03-12Add xxd -o.Elliott Hughes
2017-12-26Add xxd -i (and xxd -ri).Elliott Hughes
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
2017-05-26Be more consistent about periods in help text.Elliott Hughes
2016-07-05Implement xxd -s.Elliott Hughes
2016-02-19Add xxd -p and -r.Elliott Hughes
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.
2015-07-03Promote xxd to other.Rob Landley