Quoting mechanisms
FMLI supports
quoting mechanisms, similar to those used in the UNIX system shell,
for disabling the meaning of special characters in a string.
Each quoting mechanism has a different function, as defined below.
-
Backslash (\): A backslash causes the next single
character to be taken literally.
That is, any special meaning of the character following a backslash
is turned off.
(In some cases, multiple backslashes may be required to escape the
special meaning of a character.)
-
Single quotes (' '): Any string inside of single quotes
is taken literally and as a unit.
Inside single quotes, only the backslash (\) has special meaning.
-
Double quotes (""): Double quotes group the text
between them as a unit,
but still allow variable expansion and the use of backquotes.
Inside double quotes, only backslash (\), backquote (`), and dollar
sign ($) retain their
special meanings.
Carriage returns inside double quotes are enforced.
-
Backquotes (` `): (Backquoted expressions are
discussed in detail in the next section.)
Any statement or series of statements may
be enclosed in backquotes with the result that
such a backquoted expression evaluates to the output of the last statement.
Statements may be UNIX system executables
or FMLI built-in utilities.
Backquotes cannot be nested, except as provided for in regex.
(See the
regex(1fmli)
manual page for more information.)
NOTE:
If a statement run in a backquoted expression changes
the
stty(1)
setting, the FMLI session may
be corrupted.
Frames may not display correctly and the FMLI command line may not
function (the latter occurs if <Return> is mapped to LINEFEED
or to LINEFEED <Return>).
Next topic:
Backquoted expressions
Previous topic:
Special characters
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004