git: dd(1): Implement GNU's extension of "status" operand
Aaron LI
aly at crater.dragonflybsd.org
Thu Feb 14 08:37:58 PST 2019
commit 739ce91049ab07d70253b3620f65eba5ac171cd8
Author: Aaron LI <aly at aaronly.me>
Date: Thu Feb 14 20:34:21 2019 +0800
dd(1): Implement GNU's extension of "status" operand
* status=none: do not print status information
* status=noxfer: do not print transfer statistics
This feature is useful because the statistics information can
sometimes be annoying, and redirecting stderr to /dev/null would also
lost error messages.
Obtained from FreeBSD (revision 264059)
* status=progress: report the current status on a single line every
second.
Obtained from FreeBSD (revisions 337505,337865,338646)
Summary of changes:
bin/dd/Makefile | 4 +++-
bin/dd/args.c | 47 +++++++++++++++++++++++++++++++----------------
bin/dd/dd.1 | 20 +++++++++++++++++---
bin/dd/dd.c | 12 +++++++++++-
bin/dd/dd.h | 5 ++++-
bin/dd/extern.h | 3 +++
bin/dd/misc.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++---
bin/dd/position.c | 2 ++
8 files changed, 117 insertions(+), 25 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/739ce91049ab07d70253b3620f65eba5ac171cd8
--
DragonFly BSD source repository
More information about the Commits
mailing list