blob: b4c1bc25bb85b734a8abe81215330fa5b517cd46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#! /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
|