![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
However, short csh script can ease repetitive tasks and allow you to
use your already existant csh tricks in simple scripts.
Also, configuration files such as your ~/.cshrc use
csh constructs, so understanding scripting can help you modify them.
In this section,
we will cover scripting basics, command line parsing, and simple control
flow in the csh. By the end of this chapter, you should be able to read
and write basic csh scripts.
In the rest of this chapter, I will use shell script and
csh script interchangeably. Most people think of shell
script as /bin/sh, so this is sloppy language on
my behalf, but you've been warned!
if
![]()
The National Center for Supercomputing Applications
University of Illinois at Urbana-Champaign
[email protected]
Last modified: June 19, 1997