summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.1
diff options
context:
space:
mode:
authorKarel Zak2012-03-23 18:17:10 +0100
committerKarel Zak2012-03-23 18:17:10 +0100
commit6ad533db97f66164adc1ec3d245a1e2b0dd0e47f (patch)
tree77305bdda333fbc6511ea108885481635f14e8b4 /text-utils/hexdump.1
parenttests: update iso tests (diff)
downloadkernel-qcow2-util-linux-6ad533db97f66164adc1ec3d245a1e2b0dd0e47f.tar.gz
kernel-qcow2-util-linux-6ad533db97f66164adc1ec3d245a1e2b0dd0e47f.tar.xz
kernel-qcow2-util-linux-6ad533db97f66164adc1ec3d245a1e2b0dd0e47f.zip
hexdump: update man page for -n and -s
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/hexdump.1')
-rw-r--r--text-utils/hexdump.127
1 files changed, 4 insertions, 23 deletions
diff --git a/text-utils/hexdump.1 b/text-utils/hexdump.1
index cbb14fb85..0b3a5256f 100644
--- a/text-utils/hexdump.1
+++ b/text-utils/hexdump.1
@@ -44,6 +44,9 @@ utility is a filter which displays the specified files, or
standard input if no files are specified, in a user-specified
format.
.SH OPTIONS
+The \fIlength\fR and \fIoffset\fR arguments may be followed by binary (2^N)
+suffixes KiB, MiB, GiB, TiB, PiB and EiB (the "iB" is optional, e.g. "K" has the
+same meaning as "KiB") or decimal (10^N) suffixes KB, MB, GB, PB and EB.
.TP
.B \-b
\fIOne-byte octal display\fR. Display the input offset in hexadecimal,
@@ -90,29 +93,7 @@ quantities of input data, in octal, per line.
.BI \-s \ offset
Skip
.I offset
-bytes from the beginning of the input. By default,
-.I offset
-is interpreted as a decimal number. With a leading
-.B 0x
-or
-.BR 0X ,
-.I offset
-is interpreted as a hexadecimal number, otherwise, with a leading
-.BR 0 ,
-.I offset
-is interpreted as an octal number. Appending the character
-.BR b ,
-.BR k ,
-or
-.B m
-to
-.I offset
-causes it to be interpreted as a multiple of
-.IR 512 ,
-.IR 1024 ,
-or
-.IR 1048576 ,
-respectively.
+bytes from the beginning of the input.
.TP
.B \-v
The