ksh(1) (MLX Addendum) (MLX) ksh(1) (MLX Addendum)
NAME
ksh, rksh - KornShell, a standard/restricted command and programming
language (MLX addendum)
SYNOPSIS
ksh [ +aefhikmnprstuvx ] [ +o option ] ... [ -c string ] [ arg ... ]
rksh [ +aefhikmnprstuvx ] [ +o option ] ... [ -c string ] [ arg ... ]
DESCRIPTION
(International Functions)
ksh can process characters from supplementary code sets in addition to
ASCII characters. Characters from supplementary code sets can be used
in command arguments, names of variables, functions, and aliases, as
values of variables and field separators, and in prompt strings, com-
ments and pipes.
Searches and pattern matching using metacharacters are performed in
character units, not bytes. In particular:
? Matches any character, including characters from supplementary
code sets.
* Matches any string, including strings containing characters from
supplementary code sets.
[ ] Matches any one character in the string enclosed by square brack-
ets, or any one character with a code value within the range
designated using a minus (-) sign. Literal characters and charac-
ters specifying ranges may be selected from supplementary code
sets. If the characters which denote the first and last character
of a range are from different code sets, the range will only
match one of these two characters.
[! ] Matches any one character which does not match the pattern
enclosed in the brackets. Once again, literal characters and
characters specifying ranges may be selected from supplementary
code sets.
Shell scripts may also contain characters from supplementary code
sets.
SEE ALSO
sh(1).
Page 1 Reliant UNIX 5.44 12, 196