可以靠$1, $2 與local宣告來達成近似的效果。 ... 函式宣告. function 函式名稱() { } . ... #3. linux shell自定義函式(定義、返回值、變數作用域)介紹- 程式前沿.
確定! 回上一頁