问一个shell script的问题# Unix - 噫吁兮,危乎高哉
g*a
1 楼
I have a script like this:
#! /bin/sh
PADHOME = `/usr/local/pad`
export PADHOME
TCL_LIBRARY=$PADHOME/tcl8.0
export TCL_LIBRARY
TK_LIBRARY=$PADHOME/tk8.0
export TK_LIBRARY
ELK_LOADPATH=$PADHOME/scheme-runtime
export ELK_LOADPATH
$PADHOME/padwish $PADHOME/draw/pad.tcl $*
When I execute this script, I have the following error msg:
/usr/local/pad: is a directory
/padwish: no such file or directory
I have little knowledge in scipt and would like to know how to get this script
run correctly. THanks fo
#! /bin/sh
PADHOME = `/usr/local/pad`
export PADHOME
TCL_LIBRARY=$PADHOME/tcl8.0
export TCL_LIBRARY
TK_LIBRARY=$PADHOME/tk8.0
export TK_LIBRARY
ELK_LOADPATH=$PADHOME/scheme-runtime
export ELK_LOADPATH
$PADHOME/padwish $PADHOME/draw/pad.tcl $*
When I execute this script, I have the following error msg:
/usr/local/pad: is a directory
/padwish: no such file or directory
I have little knowledge in scipt and would like to know how to get this script
run correctly. THanks fo