May 2000
Beginner
761 pages
18h 20m
English
TC shell scripts often fail due to some simple syntax error or logic error. Options to the tcsh command are provided to help you debug your programs. See Table 11.3.
| As options to tcsh | |
| tcsh -x scriptname | Display each line of script after variable substitution and before execution. |
| tcsh -v scriptname | Display each line of script before execution, just as you typed it. |
| tcsh -n scriptname | Interpret but do not execute commands. |
| As arguments to the set command | |
| set echo | Display each line of script after variable substitution and before execution. |
| set verbose | Display each line of script before execution, just as you typed it. |
| As the first line in a script | |
| #!/bin/tcsh -xv | Turn ... |
Read now
Unlock full access