57 lines
864 B
Groff
57 lines
864 B
Groff
.TH uppercase "" "" "/rdb Command"
|
|
.PC "Convert input to all upper-case characters"
|
|
\fBuppercase [\fIstring ...\fB] [< \fIfile\fB]\fR
|
|
.PP
|
|
.II "string^convert to uppercase"
|
|
.II "convert string to uppercase"
|
|
The command
|
|
.B uppercase
|
|
converts to to upper-case characters every letter in
|
|
.IR string .
|
|
If you do not pass it a
|
|
.IR string ,
|
|
it reads the standard input.
|
|
It uses the COHERENT command
|
|
.B tr
|
|
to perform conversion.
|
|
.SH Example
|
|
Here we convert a string to upper case:
|
|
.DM
|
|
uppercase little words
|
|
.DE
|
|
.PP
|
|
This displays
|
|
.DM
|
|
LITTLE WORDS
|
|
.DE
|
|
.PP
|
|
on the standard output.
|
|
.PP
|
|
If the file
|
|
.B lowers
|
|
contains the text
|
|
.DM
|
|
these are all lowercase.
|
|
.DE
|
|
.PP
|
|
then the command
|
|
.DM
|
|
uppercase < lowers
|
|
.DE
|
|
.PP
|
|
prints the following on the standard output:
|
|
.DM
|
|
THESE ARE ALL LOWERCASE.
|
|
.DE
|
|
.SH "See Also"
|
|
.B
|
|
cap,
|
|
lowercase
|
|
.R
|
|
.br
|
|
COHERENT Lexicon:
|
|
.B
|
|
tr
|
|
.R
|
|
.SO uppercase
|