November 1999
Intermediate to advanced
832 pages
19h 28m
English
The interp command is used to create and manipulate interpreters. The interpreter being created is called a slave, and the interpreter that creates it is called the master. The master has complete control over the slave. The interp command is summarized in Table 19-1.
| interp aliases slave | Lists aliases that are defined in slave. |
| interp alias slave cmd1 | Returns the target command and arguments for the alias cmd1 in slave. |
| interp alias slave cmd1 master cmd2 arg ... | Defines cmd1 in slave that is an alias to cmd2 in master with additional args. |
| interp create ?-safe? slave | Creates an interpreter named slave. |
| interp delete slave | Destroys interpreter slave. |
| interp eval slave cmd args ... | Evaluates cmd and ... |
Read now
Unlock full access