<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#! /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  &gt;&gt; clp_env.dat
	     echo unsetenv CLIP_TRG  &gt;&gt; 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" &gt;&gt; clp_env.dat
echo "setenv CLIP_TRG  $2" &gt;&gt; clp_env.dat
echo "..... Set CLiP environment ....."
echo "Source file directory is   " $1
echo "Target module directory is " $2
</pre></body></html>