[BACK]Return to gen-shell-scripts CVS log [TXT][DIR] Up to [local] / OpenXM / rc

File: [local] / OpenXM / rc / gen-shell-scripts (download)

Revision 1.4, Tue Feb 1 12:01:31 2000 UTC (24 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.3: +8 -1 lines

gen-shell-scripts generates a shell script "ox".

#!/bin/sh
# $OpenXM: OpenXM/rc/gen-shell-scripts,v 1.4 2000/02/01 12:01:31 takayama Exp $

#asir
	rm -f asir
	echo "#!/bin/csh" >asir
	cat dot.cshrc >>asir
	echo 'exec $OpenXM_HOME/bin/fep $OpenXM_HOME/bin/asir $*' >>asir
	chmod +x asir

#sm1
	rm -f sm1
	echo "#!/bin/csh" >sm1
	cat dot.cshrc >>sm1
	echo 'exec $OpenXM_HOME/bin/fep $OpenXM_HOME/bin/sm1 $*' >>sm1
	chmod +x sm1

#gp
	rm -f gp
	echo "#!/bin/csh" >gp
	cat dot.cshrc >>gp
	echo 'exec $OpenXM_HOME/bin/fep $OpenXM_HOME/bin/gp $*' >>gp
	chmod +x gp

#oxmath
	rm -f oxmath
	echo "#!/bin/csh" >oxmath
	cat dot.cshrc >>oxmath
	echo 'exec $OpenXM_HOME/bin/fep math $*' >>oxmath
	chmod +x oxmath

#oxMathematica
	rm -f oxMathematica
	echo "#!/bin/csh" >oxMathematica
	cat dot.cshrc >>oxMathematica
	echo 'exec Mathematica  $*' >>oxMathematica
	chmod +x oxMathematica

#ox  (launcher of kxx)
	rm -f ox
	echo "#!/bin/csh" >ox
	cat dot.cshrc >>ox
	echo 'exec $OpenXM_HOME/bin/ox $*' >>ox
	chmod +x ox