sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 1599880c93ceadd7403c8d62d0f38940f85e0063
parent a8f45b45681d3ca515f147ef4623266ba50430b8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 12 Apr 2014 13:17:10 +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@codemadness.org>

Diffstat:
Mcmp.1 | 2+-
Mmd5sum.1 | 4++++
Msha1sum.1 | 4++++
Msha256sum.1 | 4++++
Msha512sum.1 | 4++++
Mtr.1 | 6+++++-
Mxargs.1 | 5+++++
7 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/cmp.1 b/cmp.1 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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.