/escape

Usage:

/ESCAPE metacharacters string


Echoes string, but any metacharacters contained in string will preceeded 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


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997 Ken Keys