#! /bin/csh # cl.csh # CLIP Cshellscript equiv to CL.BAT # Assumption: clip has been installed in directory ~/clip echo ".....Run CLiP with already existing INI-file....." set CLIP_DIR = ~/clip unalias rm unalias cp # Copy existing argument to CLIP.INI. Notify non-existing argument. if ($1 != '') then if (-e $1) then cp $1 CLIP.INI else echo Filename $1 in directory $PWD does not exist! echo NOT executing .... exit endif endif $CLIP_DIR/clip