*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 MD5SUM 1 sbase\-VERSION .Dd January 30, 2015
.SH NAME .Dt MD5SUM 1 sbase\-VERSION
md5sum \- compute MD5 message digest .Os
.SH SYNOPSIS .Sh NAME
.B md5sum .Nm md5sum
.RB [\-c] .Nd compute MD5 message digest
.RI [ file ...] .Sh SYNOPSIS
.TP .Nm
.B \-c .Op Fl c
read list of MD5 checksums from file and check them .Op Ar file ...
.SH DESCRIPTION .Sh DESCRIPTION
Print MD5 (128-bit) checksums. With no file, read standard input. Print MD5 (128-bit) checksums. With no file, read standard input.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl c
read list of MD5 checksums from file and check them
.El

View File

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

View File

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

View File

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