ZU - Zap Upper case.

Syntax:

ZU
ZU/pattern/

Examples:

*zu
zu/name/
zu2/the/

Options:

/
It is general practice to use / as a delimiter in many commands. However, any non-alphanumeric character can also be used. The final delimiter may be omitted if O-S/ is in effect and the ZU command is immediately followed by a new-line.
pattern
If you specify a pattern, ZU only converts strings into upper case if they match the pattern.

Description:

ZU puts letters into upper case. If you do not specify an address, ZU works on the current line. If you specify one address, ZU works on that line. If you specify two addresses, ZU works on all the lines between and including the given lines. In this case, the first address must precede the second in the buffer.

If you do not specify a pattern, ZU converts entire lines into upper case. In this case, there must be a space or tab between the ZU and any other commands that follow on the same command line.

If you do not specify a pattern, ZU sets the count register to the number of lines put into upper case. If you specify a pattern, ZU sets the count register to the number of matching strings converted. If ZU does not convert any characters, an error is issued.

Copyright © 1998, Thinkage Ltd.