shell script question
所在版块:社会百科 发贴时间:2006-06-19 10:27

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
hi,

i have a shell script called abc.sh
i need to use its file name (abc) as the parameter of this script (abc.sh)
is there any way other than hardcode it?

thanks for help.
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

Lilypie Second Birthday tickers
 相关帖子 我要回复↙ ↗回到正文
shell script question o_o   (175 bytes , 428reads )
用$0 egghead   (85 bytes , 297reads )
thanks guys. o_o   (0 bytes , 174reads )
$1, $2, $3..... icky   (41 bytes , 203reads )
楼上说的是对的,我看错了 icky   (67 bytes , 186reads )