aboutsummaryrefslogtreecommitdiff
path: root/sbin/md5/md5.1
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-02-26 01:55:31 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-02-26 01:55:31 +0000
commit23b406e176386f62cef07ec8c3dd5fae9b640dff (patch)
treea8d1828d78842cd2c8b968980aac3412735624f7 /sbin/md5/md5.1
parent671e2cee9740bae9ecd45ce92260b0ee8f44a8e8 (diff)
downloadsrc-23b406e176386f62cef07ec8c3dd5fae9b640dff.tar.gz
src-23b406e176386f62cef07ec8c3dd5fae9b640dff.zip
Add a '-p' option to md5. This will save some time in generation of the
ctm deltas.
Notes
Notes: svn path=/head/; revision=6725
Diffstat (limited to 'sbin/md5/md5.1')
-rw-r--r--sbin/md5/md5.15
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1
index 2eb928044d95..153054a89046 100644
--- a/sbin/md5/md5.1
+++ b/sbin/md5/md5.1
@@ -3,7 +3,7 @@
md5 \- calculate a message-digest fingerprint (checksum) for a file
.SH SYNOPSIS
.B md5
-[ -t | -x | -sstring | filename(s) ]
+[ -p | -t | -x | -sstring | filename(s) ]
.SH DESCRIPTION
.B md5
takes as input a message of arbitrary length and produces
@@ -26,6 +26,9 @@ must be the last objects on the command line.
.B -sstring
prints a checksum of the given "string".
.PP
+.B -p
+echos stdin to stdout and appends the MD5 sum to stdout.
+.PP
.B -t
runs a built-in time trial.
.PP