[hackers] [sbase] update some man pages || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sat, 12 Apr 2014 21:33:43 +0200

commit 1599880c93ceadd7403c8d62d0f38940f85e0063
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sat Apr 12 13:17:10 2014 +0200

    update some man pages
    
    *sum tools: -c was added
    tr: -d flag was added.
    xargs: -n flag was added.
    cmp: minor typo (change to lowercase).
    
    Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>

diff --git a/cmp.1 b/cmp.1
index 700805a..02b5631 100644
--- a/cmp.1
+++ b/cmp.1
_AT_@ -1,6 +1,6 @@
 .TH CMP 1 sbase\-VERSION
 .SH NAME
-CMP \- compare two files
+cmp \- compare two files
 .SH SYNOPSIS
 .B cmp
 .RB [ \-ls ]
diff --git a/md5sum.1 b/md5sum.1
index 93ecb2f..7675a66 100644
--- a/md5sum.1
+++ b/md5sum.1
_AT_@ -3,6 +3,10 @@
 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
 Print MD5 (128-bit) checksums. With no file, read standard input.
diff --git a/sha1sum.1 b/sha1sum.1
index 8f8a2df..198b441 100644
--- a/sha1sum.1
+++ b/sha1sum.1
_AT_@ -3,6 +3,10 @@
 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
 Print SHA-1 (160-bit) checksums. With no file, read standard input.
diff --git a/sha256sum.1 b/sha256sum.1
index 494b9df..4ebd5ea 100644
--- a/sha256sum.1
+++ b/sha256sum.1
_AT_@ -3,6 +3,10 @@
 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
 Print SHA256 (256-bit) checksums. With no file, read standard input.
diff --git a/sha512sum.1 b/sha512sum.1
index 50cdd7e..41e170c 100644
--- a/sha512sum.1
+++ b/sha512sum.1
_AT_@ -3,6 +3,10 @@
 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
 Print SHA512 (512-bit) checksums. With no file, read standard input.
diff --git a/tr.1 b/tr.1
index 662b4f8..efe7d30 100644
--- a/tr.1
+++ b/tr.1
_AT_@ -3,8 +3,12 @@
 tr \- translate characters
 .SH SYNOPSIS
 .B tr
+.RB [ \-d ]
 .RB set1
-.RI [ set2 ]
+.P
+.B tr
+.RB set1
+.RI set2
 .SH DESCRIPTION
 .B tr
 reads input from stdin replacing every character in
diff --git a/xargs.1 b/xargs.1
index c8b6669..87b488a 100644
--- a/xargs.1
+++ b/xargs.1
_AT_@ -3,6 +3,8 @@
 xargs \- constuct argument list(s) and execute command
 .SH SYNOPSIS
 .B xargs
+.RB [\-n
+.IR maxargs ]
 .RB [ \-r ]
 .RB [ \-E
 .IR eofstr ]
_AT_@ -25,6 +27,9 @@ newlines, up to the matching double quote. Any single character, including
 newlines, may be escaped by a backslash.
 .SH OPTIONS
 .TP
+.B \-n maxargs
+Use at most maxargs arguments per command line.
+.TP
 .BI \-r
 Do not run the command if there are no arguments. Normally the command is
 executed at least once even if there are no arguments.
Received on Sat Apr 12 2014 - 21:33:43 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 12 2014 - 21:36:26 CEST