summaryrefslogtreecommitdiffstats
path: root/sbin/md5/md5.1
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-02-26 01:55:31 +0000
committerphk <phk@FreeBSD.org>1995-02-26 01:55:31 +0000
commit8c6185fb31cb6dc7fa159c68c10fe32a7726d477 (patch)
treea8d1828d78842cd2c8b968980aac3412735624f7 /sbin/md5/md5.1
parentb1cef831437efffdad92d92aca6e8545e3f7799c (diff)
downloadFreeBSD-src-8c6185fb31cb6dc7fa159c68c10fe32a7726d477.zip
FreeBSD-src-8c6185fb31cb6dc7fa159c68c10fe32a7726d477.tar.gz
Add a '-p' option to md5. This will save some time in generation of the
ctm deltas.
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 2eb9280..153054a 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
OpenPOWER on IntegriCloud