summaryrefslogtreecommitdiffstats
path: root/bin/dd
diff options
context:
space:
mode:
authorgsutter <gsutter@FreeBSD.org>2000-02-18 04:55:40 +0000
committergsutter <gsutter@FreeBSD.org>2000-02-18 04:55:40 +0000
commitb5faf349c6ddc1cb788296517e4141b177d4562d (patch)
tree7db5bc6a94abff4fb80b1fed97f941eca6cd1535 /bin/dd
parentca82a4c70fe09ad8089c25a5034b6a8ec5f3faa8 (diff)
downloadFreeBSD-src-b5faf349c6ddc1cb788296517e4141b177d4562d.zip
FreeBSD-src-b5faf349c6ddc1cb788296517e4141b177d4562d.tar.gz
Reflect that dd accepts octal and hexadecimal numbers (in addition to decimal).
PR: 16750 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/dd.13
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/dd/dd.1 b/bin/dd/dd.1
index 49831df..32260e9 100644
--- a/bin/dd/dd.1
+++ b/bin/dd/dd.1
@@ -282,7 +282,8 @@ appended.
.El
.El
.Pp
-Where sizes are specified, a decimal number of bytes is expected.
+Where sizes are specified, a decimal, octal, or hexadecimal number of
+bytes is expected.
If the number ends with a ``b'', ``k'', ``m'', ``g'', or ``w'', the
number is multiplied by 512, 1024 (1K), 1048576 (1M), 1073741824 (1G)
or the number of bytes in an integer, respectively.
OpenPOWER on IntegriCloud