uppercase - change text to uppercase case
SYNOPSIS
uppercase < textfile
uppercase -s string
uppercase [-fc] [-h] column ... < tableorlist
DESCRIPTION
uppercase
uppercases text found in
string,
or from the standard input.
If columns are named or if the
-f
or
-h
switches are used, then
uppercase
assumes that the input is in
/rdb
table or list format.
OPTIONS
- -s string
- change all letters in
string
to uppercase.
Any other command line options are ignored and tables or
files waiting to be read from the standard input are flushed.
- -fc
- use c as the input field separation character
for
tableorlist.
- -h
- print out the header rows in
tableorlist
as is, without any case alterations.
- column ...
- uppercase only that text found in
column(s)
from
tableorlist.
EXAMPLES
$ uppercase -s 'this is a fine state of affairs!'
THIS IS A FINE STATE OF AFFAIRS!
$ cat inventory
Item Amount Cost Value Description
---- ------ ---- ----- --------------
1 3 50 150 Rubber Gloves
2 100 5 500 Test Tubes
3 5 80 400 Clamps
$ uppercase < inventory
ITEM AMOUNT COST VALUE DESCRIPTION
---- ------ ---- ----- --------------
1 3 50 150 RUBBER GLOVES
2 100 5 500 TEST TUBES
3 5 80 400 CLAMPS
$ uppercase -h description < inventory
Item Amount Cost Value Description
---- ------ ---- ----- --------------
1 3 50 150 RUBBER GLOVES
2 100 5 500 TEST TUBES
3 5 80 400 CLAMPS
SEE ALSO