diff options
author | delphij <delphij@FreeBSD.org> | 2014-04-03 00:55:16 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-04-03 00:55:16 +0000 |
commit | 101a8946cc5a12dbed97f9223a53c444eaa97415 (patch) | |
tree | 5be9e451a525366f16fddd9da73a3415f0d6eb8d /bin/dd/dd.1 | |
parent | ef9da5b7f97e0241e152076b0861edcc7fadb4e3 (diff) | |
download | FreeBSD-src-101a8946cc5a12dbed97f9223a53c444eaa97415.zip FreeBSD-src-101a8946cc5a12dbed97f9223a53c444eaa97415.tar.gz |
Implement GNU's extension of 'status' operand. The GNU syntax is
borrowed where syntax status=noxfer means no transfer statistics
and status=none means no status information at all.
This feature is useful because the statistics information can
sometimes be annoying, and redirecting stderr to /dev/null would
mean error messages also gets silenced.
Obtained from: OpenBSD
MFC after: 2 weeks
Diffstat (limited to 'bin/dd/dd.1')
-rw-r--r-- | bin/dd/dd.1 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/bin/dd/dd.1 b/bin/dd/dd.1 index fa6d9a9..0541df8 100644 --- a/bin/dd/dd.1 +++ b/bin/dd/dd.1 @@ -32,7 +32,7 @@ .\" @(#)dd.1 8.2 (Berkeley) 1/13/94 .\" $FreeBSD$ .\" -.Dd October 1, 2013 +.Dd April 2, 2014 .Dt DD 1 .Os .Sh NAME @@ -156,6 +156,17 @@ Otherwise, input data is read and discarded. For pipes, the correct number of bytes is read. For all other devices, the correct number of blocks is read without distinguishing between a partial or complete block being read. +.It Cm status Ns = Ns Ar value +Where +.Cm value +is one of the symbols from the following list. +.Bl -tag -width ".Cm noxfer" +.It Cm noxfer +Do not print the transfer statistics as the last line of status output. +.It Cm none +Do not print the status output. +Error messages are shown; informational messages are not. +.El .It Cm conv Ns = Ns Ar value Ns Op , Ns Ar value ... Where .Cm value @@ -410,7 +421,9 @@ utility is expected to be a superset of the standard. The .Cm files -operand and the +and +.Cm status +operands and the .Cm ascii , .Cm ebcdic , .Cm ibm , |