好久没接触linux shell了,今天搞xcode的framework的脚本编译(添加的Run Script)遇到了,感觉都忘记了,随笔记下来吧
$n $1 the first parameter,$2 the second...
$# The number of command-line parameters.
$0 The name of current program.
$? Last command or function's return value.
$$ The program's PID.
$! Last program's PID.
$@ Save all the parameters.