This script begins by loading and interpreting the make_actions.tcl file, which was described in
Chapter 11, “Seeing the CLI at Work”. It then loads the
fork_loop executable, sets its default startup arguments, and steps one source-level statement.
If you stored this in a file named fork_loop.tvd, you can tell TotalView to start the CLI and execute this file by entering the following command:
The only real difference between the last two examples is the first few lines in the file. In this second example, the shell ignores the backslash continuation character; Tcl processes it. This means that the shell executes the
exec command while Tcl will ignore it.