summaryrefslogtreecommitdiffstats
path: root/bin/dd/dd.1
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-02-26 21:29:44 +0000
committergreen <green@FreeBSD.org>2000-02-26 21:29:44 +0000
commit708c7f49eb76a27506ad477dfe0eab43e9cc2f2c (patch)
tree0b3a6e6bf3273c0eeaf087c8ae07d8523fa9d401 /bin/dd/dd.1
parent9b8b2074975c685e02cccd4939abd1200f82d010 (diff)
downloadFreeBSD-src-708c7f49eb76a27506ad477dfe0eab43e9cc2f2c.zip
FreeBSD-src-708c7f49eb76a27506ad477dfe0eab43e9cc2f2c.tar.gz
Add iseek= and oseek= aliases for the preexisting skip= and seek=
operands. Can _YOU_ tell skip= and seek= apart with 100% accuracy every time? This also seems to make us option-for-option compatible with the Solaris dd(1). Approved by: jkh Suggested by: peter
Diffstat (limited to 'bin/dd/dd.1')
-rw-r--r--bin/dd/dd.112
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/dd/dd.1 b/bin/dd/dd.1
index 32260e9..b34dcc6 100644
--- a/bin/dd/dd.1
+++ b/bin/dd/dd.1
@@ -96,10 +96,20 @@ bytes instead of the default 512.
Read input from
.Ar file
instead of the standard input.
+.It Cm iseek= Ns Ar n
+Seek on the input file
+.Va n
+blocks. This is a synonym for
+.Cm skip= Ns Ar n .
.It Cm obs= Ns Ar n
Set the output block size to
.Va n
bytes instead of the default 512.
+.It Cm oseek= Ns Ar n
+Seek on the output file
+.Va n
+blocks. This is a synonym for
+.Cm seek= Ns Ar n .
.It Cm of= Ns Ar file
Write output to
.Ar file
@@ -107,7 +117,7 @@ instead of the standard output.
Any regular output file is truncated unless the
.Cm notrunc
conversion value is specified.
-If an initial portion of the output file is skipped (see the
+If an initial portion of the output file is seeked past (see the
.Cm seek
operand),
the output file is truncated at that point.
OpenPOWER on IntegriCloud