diff options
author | Sami Kerola | 2013-04-13 21:54:36 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-26 13:26:00 +0200 |
commit | cdeb4292e9e1c1f1e8ec64097d40307f682311f1 (patch) | |
tree | 65db705876f37ed01270dd860fa28b5720a23732 /text-utils/hexdump.1 | |
parent | setpriv: allow login and group name option arguments (diff) | |
download | kernel-qcow2-util-linux-cdeb4292e9e1c1f1e8ec64097d40307f682311f1.tar.gz kernel-qcow2-util-linux-cdeb4292e9e1c1f1e8ec64097d40307f682311f1.tar.xz kernel-qcow2-util-linux-cdeb4292e9e1c1f1e8ec64097d40307f682311f1.zip |
hexdump: add long options to the command
Includes update to bash completion, and manual as well.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/hexdump.1')
-rw-r--r-- | text-utils/hexdump.1 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/text-utils/hexdump.1 b/text-utils/hexdump.1 index 903100dfc..e8afdbac8 100644 --- a/text-utils/hexdump.1 +++ b/text-utils/hexdump.1 @@ -31,7 +31,7 @@ .\" .\" from: @(#)hexdump.1 8.2 (Berkeley) 4/18/94 .\" -.TH HEXDUMP "1" "September 2011" "util-linux" "User Commands" +.TH HEXDUMP "1" "April 2013" "util-linux" "User Commands" .SH NAME hexdump \- display file contents in ascii, decimal, hexadecimal, or octal .SH SYNOPSIS @@ -49,17 +49,17 @@ suffixes KiB=1024, MiB=1024*1024, and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is optional, e.g. "K" has the same meaning as "KiB") or the suffixes KB=1000, MB=1000*1000, and so on for GB, TB, PB, EB, ZB and YB. .TP -.B \-b +\fB\-b\fR, \fB\-\-one\-byte\-octal\fR \fIOne-byte octal display\fR. Display the input offset in hexadecimal, followed by sixteen space-separated, three-column, zero-filled bytes of input data, in octal, per line. .TP -.B \-c +\fB\-c\fR, \fB\-\-one\-byte\-char\fR \fIOne-byte character display\fR. Display the input offset in hexadecimal, followed by sixteen space-separated, three-column, space-filled characters of input data per line. .TP -.B \-C +\fB\-C\fR, \fB\-\-canonical\fR \fICanonical hex+ASCII display\fR. Display the input offset in hexadecimal, followed by sixteen space-separated, two-column, hexadecimal bytes, followed by the same sixteen bytes in @@ -68,35 +68,35 @@ format enclosed in .RB ' | ' characters. .TP -.B \-d +\fB\-d\fR, \fB\-\-two\-bytes\-decimal\fR \fITwo-byte decimal display\fR. Display the input offset in hexadecimal, followed by eight space-separated, five-column, zero-filled, two-byte units of input data, in unsigned decimal, per line. .TP -.BI \-e \ format_string +\fB\-e\fR, \fB\-\-format\fR \fIformat_string\fR Specify a format string to be used for displaying data. .TP -.BI \-f \ format_file +\fB\-r\fR, \fB\-\-format\-file\fR \fIfile\fR Specify a file that contains one or more newline separated format strings. Empty lines and lines whose first non-blank character is a hash mark (\&#) are ignored. .TP -.BI \-n \ length +\fB\-n\fR, \fB\-\-length\fR \fIlength\fR Interpret only .I length bytes of input. .TP -.B \-o +\fB\-o\fR, \fB\-\-two\-bytes\-octal\fR \fITwo-byte octal display\fR. Display the input offset in hexadecimal, followed by eight space-separated, six-column, zero-filled, two-byte quantities of input data, in octal, per line. .TP -.BI \-s \ offset +\fB\-s\fR, \fB\-\-skip\fR \fIoffset\fR Skip .I offset bytes from the beginning of the input. .TP -.B \-v +\fB\-v\fR, \fB\-\-no\-squeezing\fR The .B \-v option causes @@ -107,7 +107,7 @@ option, any number of groups of output lines which would be identical to the immediately preceding group of output lines (except for the input offsets), are replaced with a line comprised of a single asterisk. .TP -.B \-x +\fB\-x\fR, \fB\-\-two\-bytes\-hex\fR \fITwo-byte hexadecimal display\fR. Display the input offset in hexadecimal, followed by eight space-separated, four-column, zero-filled, two-byte quantities of input data, in hexadecimal, per line. |