conv-case

conv-case


control-chars Index Level converse
Syntax conv-case file.reference itemlist* {(options)}
Category TCL
Type Verb
Description converts the characters within specified items to upper or lower case, according to the options provided.

If no option is provided, all characters are converted to upper-case.
Options ?  Provides "help" on syntax and options (below).

e  Used with "q" option to convert case of items within quotes due to "chain", "tcl", and "execute" statements. If the "e" option is used by itself, all characters are changed to upper-case. If "e" is used with the "q" option, it changes everything except strings in quotes that are not preceded by "chain", "tcl" or "execute".

i  Suppresses display of item-id(s).

l  Converts upper case text to lower case.

o  Outputs the item-ids on the same line.

q  Leaves text within quotes unchanged.

u  Converts lower case text to upper case (default).
See Also create-file case itemlist* \ case-file quotes
Example conv-case bp * (equ
Converts all the items in the "bp" file to upper case characters, except literals inside quotes or backslashes. Each item-id displays on a separate line.
Warnings
Compatibility D3 7.0 AP
control-chars Index Level converse