[hackers] [sbase] Update *sum(1)-manpages and mark them as finished and audited || FRIGN

From: <git_AT_suckless.org>
Date: Tue, 3 Mar 2015 14:32:25 +0100 (CET)

commit 58d5e5b7868f83cfe0f883b3b6a8c3eea7c6064d
Author: FRIGN <dev_AT_frign.de>
Date: Sun Mar 1 22:59:20 2015 +0100

    Update *sum(1)-manpages and mark them as finished and audited
    
    Now that -c behaves correctly, the tools are pretty much done.
    Only the manpages were not clear enough what happens when you
    specify the c-flag.
    This is fixed now.

diff --git a/README b/README
index 7bccbf6..c53be52 100644
--- a/README
+++ b/README
_AT_@ -42,7 +42,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
 =* logger yes none
 =* logname yes none
 = ls no (-C), -S, -f, -m, -s, -x
-=* md5sum non-posix none
+=*| md5sum non-posix none
 =* mkdir yes none
 =* mkfifo yes none
 =* mktemp non-posix none
_AT_@ -61,9 +61,9 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
 # sed
     seq non-posix none
 =* setsid non-posix none
-= sha1sum non-posix none
-= sha256sum non-posix none
-= sha512sum non-posix none
+=*| sha1sum non-posix none
+=*| sha256sum non-posix none
+=*| sha512sum non-posix none
 =*| sleep yes none
     sort no -m, -o, -d, -f, -i
 =* split yes none
diff --git a/md5sum.1 b/md5sum.1
index 7e0e772..aa3de6a 100644
--- a/md5sum.1
+++ b/md5sum.1
_AT_@ -1,16 +1,16 @@
-.Dd January 31, 2015
+.Dd March 1, 2015
 .Dt MD5SUM 1
 .Os sbase
 .Sh NAME
 .Nm md5sum
-.Nd compute or check MD5 checksums
+.Nd compute or check MD5 message digests
 .Sh SYNOPSIS
 .Nm
 .Op Fl c
 .Op Ar file ...
 .Sh DESCRIPTION
 .Nm
-writes an MD5 (128-bit) checksum of each
+writes MD5 (128-bit) checksums of each
 .Ar file
 to stdout.
 If no
_AT_@ -24,4 +24,9 @@ reads from stdin.
 Read list of MD5 checksums from each
 .Ar file
 and check them.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
 .El
diff --git a/sha1sum.1 b/sha1sum.1
index 8870a01..ba2f974 100644
--- a/sha1sum.1
+++ b/sha1sum.1
_AT_@ -1,17 +1,32 @@
-.Dd January 30, 2015
+.Dd March 1, 2015
 .Dt SHA1SUM 1
 .Os sbase
 .Sh NAME
 .Nm sha1sum
-.Nd compute SHA-1 message digest
+.Nd compute or check SHA-1 message digests
 .Sh SYNOPSIS
 .Nm
 .Op Fl c
 .Op Ar file ...
 .Sh DESCRIPTION
-Print SHA-1 (160-bit) checksums. With no file, read standard input.
+.Nm
+writes SHA-1 (160-bit) checksums of each
+.Ar file
+to stdout.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
 .Sh OPTIONS
 .Bl -tag -width Ds
 .It Fl c
-Read list of SHA1 checksums from file and check them.
+Read list of SHA-1 checksums from each
+.Ar file
+and check them.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
 .El
diff --git a/sha256sum.1 b/sha256sum.1
index debdf10..21a29d6 100644
--- a/sha256sum.1
+++ b/sha256sum.1
_AT_@ -1,17 +1,32 @@
-.Dd January 30, 2015
+.Dd March 1, 2015
 .Dt SHA256SUM 1
 .Os sbase
 .Sh NAME
 .Nm sha256sum
-.Nd compute SHA256 message digest
+.Nd compute or check SHA-256 message digests
 .Sh SYNOPSIS
 .Nm
 .Op Fl c
 .Op Ar file ...
 .Sh DESCRIPTION
-Print SHA256 (256-bit) checksums. With no file, read standard input.
+.Nm
+writes SHA-256 (256-bit) checksums of each
+.Ar file
+to stdout.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
 .Sh OPTIONS
 .Bl -tag -width Ds
 .It Fl c
-Read list of SHA256 checksums from file and check them.
+Read list of SHA-256 checksums from each
+.Ar file
+and check them.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
 .El
diff --git a/sha512sum.1 b/sha512sum.1
index 9a9f75f..00010ed 100644
--- a/sha512sum.1
+++ b/sha512sum.1
_AT_@ -1,17 +1,32 @@
-.Dd January 30, 2015
+.Dd March 1, 2015
 .Dt SHA512SUM 1
 .Os sbase
 .Sh NAME
 .Nm sha512sum
-.Nd compute SHA512 message digest
+.Nd compute or check SHA-512 message digests
 .Sh SYNOPSIS
 .Nm
 .Op Fl c
 .Op Ar file ...
 .Sh DESCRIPTION
-Print SHA512 (512-bit) checksums. With no file, read standard input.
+.Nm
+writes SHA-512 (512-bit) checksums of each
+.Ar file
+to stdout.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
 .Sh OPTIONS
 .Bl -tag -width Ds
 .It Fl c
-Read list of SHA512 checksums from file and check them.
+Read list of SHA-512 checksums from each
+.Ar file
+and check them.
+If no
+.Ar file
+is given
+.Nm
+reads from stdin.
 .El
Received on Tue Mar 03 2015 - 14:32:25 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 03 2015 - 14:36:11 CET