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@codemadness.org>
This commit is contained in:
Hiltjo Posthuma 2014-04-12 13:17:10 +02:00 committed by sin
parent a8f45b4568
commit 1599880c93
7 changed files with 27 additions and 2 deletions

2
cmp.1
View File

@ -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 ]

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

6
tr.1
View File

@ -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

View File

@ -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 ]
@ -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.