[hackers] [sbase] *sum.1: convert to mandoc || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Fri, 30 Jan 2015 23:30:23 +0100 (CET)

commit 8ddf3d171744287f51e947bcb3e7d5c6d098fa41
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri Jan 30 23:08:25 2015 +0100

    *sum.1: convert to mandoc
    
    ... and fix order of sections, add OPTIONS section with a list describing the
    flags.

diff --git a/md5sum.1 b/md5sum.1
index 7675a66..339f515 100644
--- a/md5sum.1
+++ b/md5sum.1
_AT_@ -1,12 +1,17 @@
-.TH MD5SUM 1 sbase\-VERSION
-.SH NAME
-md5sum \- compute MD5 message digest
-.SH SYNOPSIS
-.B md5sum
-.RB [\-c]
-.RI [ file ...]
-.TP
-.B \-c
-read list of MD5 checksums from file and check them
-.SH DESCRIPTION
+.Dd January 30, 2015
+.Dt MD5SUM 1 sbase\-VERSION
+.Os
+.Sh NAME
+.Nm md5sum
+.Nd compute MD5 message digest
+.Sh SYNOPSIS
+.Nm
+.Op Fl c
+.Op Ar file ...
+.Sh DESCRIPTION
 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
diff --git a/sha1sum.1 b/sha1sum.1
index 198b441..4e523ae 100644
--- a/sha1sum.1
+++ b/sha1sum.1
_AT_@ -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
diff --git a/sha256sum.1 b/sha256sum.1
index 4ebd5ea..0654008 100644
--- a/sha256sum.1
+++ b/sha256sum.1
_AT_@ -1,12 +1,17 @@
-.TH SHA256SUM 1 sbase\-VERSION
-.SH NAME
-sha256sum \- compute SHA256 message digest
-.SH SYNOPSIS
-.B sha256sum
-.RB [\-c]
-.RI [ file ...]
-.TP
-.B \-c
-read list of SHA256 checksums from file and check them
-.SH DESCRIPTION
+.Dd January 30, 2015
+.Dt SHA256SUM 1 sbase\-VERSION
+.Os
+.Sh NAME
+.Nm sha256sum
+.Nd compute SHA256 message digest
+.Sh SYNOPSIS
+.Nm
+.Op Fl c
+.Op Ar file ...
+.Sh DESCRIPTION
 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
diff --git a/sha512sum.1 b/sha512sum.1
index 41e170c..150ba93 100644
--- a/sha512sum.1
+++ b/sha512sum.1
_AT_@ -1,12 +1,17 @@
-.TH SHA512SUM 1 sbase\-VERSION
-.SH NAME
-sha512sum \- compute SHA512 message digest
-.SH SYNOPSIS
-.B sha512sum
-.RB [\-c]
-.RI [ file ...]
-.TP
-.B \-c
-read list of SHA512 checksums from file and check them
-.SH DESCRIPTION
+.Dd January 30, 2015
+.Dt SHA512SUM 1 sbase\-VERSION
+.Os
+.Sh NAME
+.Nm sha512sum
+.Nd compute SHA512 message digest
+.Sh SYNOPSIS
+.Nm
+.Op Fl c
+.Op Ar file ...
+.Sh DESCRIPTION
 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
Received on Fri Jan 30 2015 - 23:30:23 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 30 2015 - 23:36:09 CET