Files
src/str/str.1
T
2022-09-13 23:54:18 -04:00

36 lines
724 B
Groff

.TH STRIS 1
.SH NAME
str \(en test the character types of string arguments
.SH SYNOPSIS
str
.RB [ type ]
.RB [ string... ]
.SH DESCRIPTION
Str tests each character in an arbitrary quantity of string arguments against the function of the same name within ctype(3).
.SH DIAGNOSTICS
Strexits successfully if all tests pass and unsuccessfully if a test failed.
.PP
Str will print a message to standard error and exit unsuccessfully if used improperly.
.SH BUGS
There's no way of knowing which argument failed the test without re-testing arguments individually.
.PP
If a character in a string isn't valid ASCII the behavior of this program is undefined.
.SH SEE ALSO
ctype(3), ascii(7)
.SH COPYRIGHT
Public domain.