摘要:
需要使用sh.exe来解析*.sh脚本。注意事项:1)因为shell是区分大小写的,shell使用PATH作为环境变量。必须在每个文件的开始用PATH=$Pathexport PATH2) 路径分隔符可以使用/或\\。3)正反斜杠替换Root=$1WebRoot=$Root/Webecho $WebRootecho $WebRoot | sed 's/\\/\//g' > temp.txtWebRoot=`cat temp.txt`rm -f temp.txtecho $WebRootecho $WebRoot | sed 's#/#\\\\#g' 阅读全文
posted @ 2011-01-31 15:34
iTech
阅读(2614)
评论(0)
推荐(0)
摘要:
Python 学习总结 阅读全文
posted @ 2011-01-31 14:25
iTech
阅读(9508)
评论(10)
推荐(6)