diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-02 07:04:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-02 07:04:25 +0000 |
commit | 2477d2ef386737d213ec177d10749f0f6a152613 (patch) | |
tree | b13e8f7082126e34779267544b2b8cb5568284df /bin/md5/rmd160.1 | |
parent | 6af80c3cd7b5a7cf502caa8e01cb7a293eb09b33 (diff) |
use getopt; mph@pobox.com
Diffstat (limited to 'bin/md5/rmd160.1')
-rw-r--r-- | bin/md5/rmd160.1 | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/bin/md5/rmd160.1 b/bin/md5/rmd160.1 index dcc3a70f279..746a81c6b8f 100644 --- a/bin/md5/rmd160.1 +++ b/bin/md5/rmd160.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmd160.1,v 1.2 1997/11/12 14:29:48 provos Exp $ +.\" $OpenBSD: rmd160.1,v 1.3 1998/01/02 07:04:24 deraadt Exp $ .\" .Dd July 16, 1997 .Dt RMD160 1 @@ -8,11 +8,9 @@ .Nd "calculate a message-digest fingerprint (checksum) for a file" .Sh SYNOPSIS .Nm -.Op Fl p -.Op Fl t -.Op Fl x -.Op Fl s Ns Ar string -.Op Ar filename(s) +.Op Fl ptx +.Op Fl s Ar string +.Op Ar file ... .Sh DESCRIPTION .Nm takes as input a message of arbitrary length and produces @@ -28,12 +26,12 @@ encrypted with a private (secret) key under a public-key cryptosystem such as .Em RSA . .Sh OPTIONS -The following four options may be used in any combination, except -that -.Ar filename(s) -must be the last objects on the command line. -.Bl -tag -width "filename(s)" -.It Fl s Ns Ar string +The following four options may be used in any combination and must +precede any files named on the command line. The RMD-160 +sum of each file listed on the command line is printed after the options +are processed. +.Bl -tag -width Fl +.It Fl s Ar string prints a checksum of the given string. .It Fl p echos stdin to stdout and appends the @@ -43,9 +41,6 @@ sum to stdout. runs a built-in time trial. .It Fl x runs a built-in test script. -.It Ar filename(s) -prints the checksum for each file. If no files are specified, -standard input is used. .El .Sh SEE ALSO .Xr cksum 1 , |