57 lines
819 B
Groff
57 lines
819 B
Groff
.TH lowercase "" "" "/rdb Command"
|
|
.PC "Transform text to lower case"
|
|
\fBlowercase [\fIstring ...\fB] [< \fIfile\fB]\fR
|
|
.PP
|
|
.II "string^convert to lower case"
|
|
.II "convert string to lower case"
|
|
The command
|
|
.B lowercase
|
|
converts to lower case every letter in
|
|
.I string
|
|
or
|
|
.IR file .
|
|
If there are no arguments, it reads and converts the standard input.
|
|
It uses
|
|
.BR tr ,
|
|
the COHERENT character-translation command, to do the converting.
|
|
.SH Example
|
|
The command:
|
|
.DM
|
|
lowercase BIG WORDS
|
|
.DE
|
|
.PP
|
|
prints
|
|
.DM
|
|
big words
|
|
.DE
|
|
.PP
|
|
on the standard output.
|
|
.PP
|
|
If the file
|
|
.B CAPITALS
|
|
contains the string
|
|
.DM
|
|
THESE ARE ALL CAPS.
|
|
.DE
|
|
.PP
|
|
then the command
|
|
.DM
|
|
lowercase < CAPITALS
|
|
.DE
|
|
.PP
|
|
prints on the standard output:
|
|
.DM
|
|
these are all caps.
|
|
.DE
|
|
.SH "See Also"
|
|
.B
|
|
cap,
|
|
uppercase
|
|
.R
|
|
.br
|
|
COHERENT Lexicon:
|
|
.B
|
|
tr
|
|
.R
|
|
.SO lowercase
|