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 .TH CMP 1 sbase\-VERSION
.SH NAME .SH NAME
CMP \- compare two files cmp \- compare two files
.SH SYNOPSIS .SH SYNOPSIS
.B cmp .B cmp
.RB [ \-ls ] .RB [ \-ls ]

View File

@ -3,6 +3,10 @@
md5sum \- compute MD5 message digest md5sum \- compute MD5 message digest
.SH SYNOPSIS .SH SYNOPSIS
.B md5sum .B md5sum
.RB [\-c]
.RI [ file ...] .RI [ file ...]
.TP
.B \-c
read list of MD5 checksums from file and check them
.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.

View File

@ -3,6 +3,10 @@
sha1sum \- compute SHA-1 message digest sha1sum \- compute SHA-1 message digest
.SH SYNOPSIS .SH SYNOPSIS
.B sha1sum .B sha1sum
.RB [\-c]
.RI [ file ...] .RI [ file ...]
.TP
.B \-c
read list of SHA1 checksums from file and check them
.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.

View File

@ -3,6 +3,10 @@
sha256sum \- compute SHA256 message digest sha256sum \- compute SHA256 message digest
.SH SYNOPSIS .SH SYNOPSIS
.B sha256sum .B sha256sum
.RB [\-c]
.RI [ file ...] .RI [ file ...]
.TP
.B \-c
read list of SHA256 checksums from file and check them
.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.

View File

@ -3,6 +3,10 @@
sha512sum \- compute SHA512 message digest sha512sum \- compute SHA512 message digest
.SH SYNOPSIS .SH SYNOPSIS
.B sha512sum .B sha512sum
.RB [\-c]
.RI [ file ...] .RI [ file ...]
.TP
.B \-c
read list of SHA512 checksums from file and check them
.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.

6
tr.1
View File

@ -3,8 +3,12 @@
tr \- translate characters tr \- translate characters
.SH SYNOPSIS .SH SYNOPSIS
.B tr .B tr
.RB [ \-d ]
.RB set1 .RB set1
.RI [ set2 ] .P
.B tr
.RB set1
.RI set2
.SH DESCRIPTION .SH DESCRIPTION
.B tr .B tr
reads input from stdin replacing every character in reads input from stdin replacing every character in

View File

@ -3,6 +3,8 @@
xargs \- constuct argument list(s) and execute command xargs \- constuct argument list(s) and execute command
.SH SYNOPSIS .SH SYNOPSIS
.B xargs .B xargs
.RB [\-n
.IR maxargs ]
.RB [ \-r ] .RB [ \-r ]
.RB [ \-E .RB [ \-E
.IR eofstr ] .IR eofstr ]
@ -25,6 +27,9 @@ newlines, up to the matching double quote. Any single character, including
newlines, may be escaped by a backslash. newlines, may be escaped by a backslash.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \-n maxargs
Use at most maxargs arguments per command line.
.TP
.BI \-r .BI \-r
Do not run the command if there are no arguments. Normally the command is Do not run the command if there are no arguments. Normally the command is
executed at least once even if there are no arguments. executed at least once even if there are no arguments.