summaryrefslogtreecommitdiffstats
path: root/sbin/md5/md5.1
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-11-07 04:14:55 +0000
committerobrien <obrien@FreeBSD.org>1999-11-07 04:14:55 +0000
commit9c150e9d7eeabe6cf2b7ef09b05b30dc27e36190 (patch)
treef92e92029bef3e465e4ac6c5a78269b2f537aa34 /sbin/md5/md5.1
parentec94780e1f754632e93e589e97b834ada49b0a5f (diff)
downloadFreeBSD-src-9c150e9d7eeabe6cf2b7ef09b05b30dc27e36190.zip
FreeBSD-src-9c150e9d7eeabe6cf2b7ef09b05b30dc27e36190.tar.gz
Add a new "-r" (right) option that reverses the order a filename and the
hash is printed. This aids visual diffs.
Diffstat (limited to 'sbin/md5/md5.1')
-rw-r--r--sbin/md5/md5.18
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1
index 7fb415f..5bf3fc6 100644
--- a/sbin/md5/md5.1
+++ b/sbin/md5/md5.1
@@ -1,3 +1,4 @@
+.\" $FreeBSD$
.Dd February 14, 1994
.Dt MD5 1
.Os
@@ -6,7 +7,7 @@
.Nd calculate a message-digest fingerprint (checksum) for a file
.Sh SYNOPSIS
.Nm md5
-.Op Fl ptx
+.Op Fl prtx
.Op Fl s Ar string
.Op Ar file ...
.Sh DESCRIPTION
@@ -37,6 +38,11 @@ Print a checksum of the given
.Ar string .
.It Fl p
Echo stdin to stdout and appends the MD5 sum to stdout.
+.It Fl r
+Reverses the format of the output. This helps with visual diffs. Does nothing
+when combined with the
+.Fl stpx
+options.
.It Fl t
Run a built-in time trial.
.It Fl x
OpenPOWER on IntegriCloud