diff options
Diffstat (limited to 'util-linux/hexdump.c')
-rw-r--r-- | util-linux/hexdump.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index ac7e24ff8..5e1ef6938 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c @@ -8,6 +8,35 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//config:config HEXDUMP +//config: bool "hexdump" +//config: default y +//config: help +//config: The hexdump utility is used to display binary data in a readable +//config: way that is comparable to the output from most hex editors. +//config: +//config:config FEATURE_HEXDUMP_REVERSE +//config: bool "Support -R, reverse of 'hexdump -Cv'" +//config: default y +//config: depends on HEXDUMP +//config: help +//config: The hexdump utility is used to display binary data in an ascii +//config: readable way. This option creates binary data from an ascii input. +//config: NB: this option is non-standard. It's unwise to use it in scripts +//config: aimed to be portable. +//config: +//config:config HD +//config: bool "hd" +//config: default y +//config: depends on HEXDUMP +//config: help +//config: hd is an alias to hexdump -C. + +//applet:IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump)) +//applet:IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd)) + +//kbuild:lib-$(CONFIG_HEXDUMP) += hexdump.o +//kbuild:lib-$(CONFIG_HD) += hexdump.o //usage:#define hexdump_trivial_usage //usage: "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] [FILE]..." |