Tcl and Shell Escape Tables

Some characters have special meanings in Tcl or shells (e.g., sh, tcsh, etc.). In particular, these characters may provide security holes for shells.

The characters listed here are escaped by preceeding each one with a backslash (\).

The following characters are dissallowed or have special meanings in Tcl and so are escaped: &;`'"|*?~<>^()[]{}$\

The following characters are dissallowed or have special meanings in command shells and so are escaped: &;`'"|*?~<>^()[]{}$\\n

The only difference between the two tables is the addition of \n to the shell escape table.


Last updated by $Author: adj $ on $Date: 1997/12/01 23:41:29 $.
Copyright © 1995-1998 Anthony D. Joseph and Massachusetts Institute of Technology