*sum.1: convert to mandoc

... and fix order of sections, add OPTIONS section with a list describing the
flags.
This commit is contained in:
Hiltjo Posthuma
2015-01-30 23:08:25 +01:00
parent a576a74635
commit 1e4fd252be
4 changed files with 64 additions and 44 deletions

View File

@@ -1,12 +1,17 @@
.TH SHA1SUM 1 sbase\-VERSION
.SH NAME
sha1sum \- compute SHA-1 message digest
.SH SYNOPSIS
.B sha1sum
.RB [\-c]
.RI [ file ...]
.TP
.B \-c
read list of SHA1 checksums from file and check them
.SH DESCRIPTION
.Dd January 30, 2015
.Dt SHA1SUM 1 sbase\-VERSION
.Os
.Sh NAME
.Nm sha1sum
.Nd compute SHA-1 message digest
.Sh SYNOPSIS
.Nm
.Op Fl c
.Op Ar file ...
.Sh DESCRIPTION
Print SHA-1 (160-bit) checksums. With no file, read standard input.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl c
read list of SHA1 checksums from file and check them
.El