aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGregory Sutter <gsutter@FreeBSD.org>2000-02-18 04:55:40 +0000
committerGregory Sutter <gsutter@FreeBSD.org>2000-02-18 04:55:40 +0000
commit276d5ee8514cf43ad1729326fb2a6009baab8d18 (patch)
tree6fd77895f57559819512377bf5a8c1e6325c5746 /bin
parenta48a35c7f6c4f0e109a5302fe3f9bb255c8e3b61 (diff)
downloadsrc-276d5ee8514cf43ad1729326fb2a6009baab8d18.tar.gz
src-276d5ee8514cf43ad1729326fb2a6009baab8d18.zip
Reflect that dd accepts octal and hexadecimal numbers (in addition to decimal).
PR: 16750 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
Notes
Notes: svn path=/head/; revision=57308
Diffstat (limited to 'bin')
-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 49831dfdff57..32260e90b874 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.