#! /bin/csh # CLIP Cshellscript equal to CLP_ENV.BAT unalias rm rm clp_env.dat touch clp_env.dat if (.$1 == .) then echo unsetenv CLIP_SRC >> clp_env.dat echo unsetenv CLIP_TRG >> clp_env.dat echo ..... CLiP environment cleared ..... exit endif if (.$2 == .) then echo ..... Please specify directories for ..... echo ..... SOURCE files and TARGET modules ..... exit endif echo "setenv CLIP_SRC $1" >> clp_env.dat echo "setenv CLIP_TRG $2" >> clp_env.dat echo "..... Set CLiP environment ....." echo "Source file directory is " $1 echo "Target module directory is " $2