Function usage:
ESCAPE(metacharacters,
string)
Command usage:
/ESCAPE metacharacters
string
Echoes (in command form) or returns (in function form) string, with any metacharacters or '\' characters contained in string preceded by a '\' character.
Example:
/def blue =
/def
-aCblue
-t"$(/escape " %*)"
/blue * pages, "*"
When the second command executes, it will expand to:
/def
-aCblue
-t"* pages, \"*\""
See: evaluation