The upper command makes the text in the workspace buffer all upper case .
read;
[:space:] { while [:space:]; print; clear; }
![:space:].!"" {
upper; print; clear;
whilenot [:space:]; lower; print; clear;
}
The nom language only has a limited set of functions to manipulate the text in the workspace buffer (much more limited that the functions available AWK or SED ) .
These functions are
lower
upper
clip
clop
clear
replace
cap
add
This command should be “unicode aware” but since the pep interpreter is written in plain c, (with normal c char byte character type), scripts run through the interpreter will not be unicode aware. This can be solved by running the script through one of the nom translation scripts.