由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - 问一个shell script的问题
相关主题
Invalid ELF header Re: 问一个shell script的问题一个奇怪的现象!
in expect, to send some character...How to get the name of current executable in a library routine?
help: how to know the pid of prog started by rshnetlibrary的private collection..
Question on Tcl/Tk !help
Help on get an integer from a date string[转载] shared library一问
[转载] TCL/TK to move mouse[转载] 再问一个shared library的问题
[转载] Re: Tcl questionRe: SOS!!! (about FLTK)
请问一下,用什么语言/库/脚本作GUI比较方便?what's the difference between .a and .so,
相关话题的讨论汇总
话题: padhome话题: library话题: script话题: export话题: loadpath
进入Unix版参与讨论
1 (共1页)
g******a
发帖数: 730
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
p******f
发帖数: 162
2

I guess the first line should be:
PADHOME=/usr/local/pad

【在 g******a 的大作中提到】
: 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

1 (共1页)
进入Unix版参与讨论
相关主题
what's the difference between .a and .so,Help on get an integer from a date string
xmemcpy是个虾米东东?[转载] TCL/TK to move mouse
Help on 'make'[转载] Re: Tcl question
multithread question请问一下,用什么语言/库/脚本作GUI比较方便?
Invalid ELF header Re: 问一个shell script的问题一个奇怪的现象!
in expect, to send some character...How to get the name of current executable in a library routine?
help: how to know the pid of prog started by rshnetlibrary的private collection..
Question on Tcl/Tk !help
相关话题的讨论汇总
话题: padhome话题: library话题: script话题: export话题: loadpath