- 2025年05月12日
- 星期一
考虑我打算在任何符合 POSIX.1-2004的shell上运行的以下shell脚本. log(){ echo debug: $*}A=foo:bar:bazIFS=:for i in $Ado log token $idoneunset IFS# Do more stuff here 我想循环冒号分隔值.在循环中,我想调用一个日志函
考虑我打算在任何符合 POSIX.1-2004的shell上运行的以下shell脚本. log(){ echo debug: $*}A=foo:bar:bazIFS=:for i in $Ado log token $idoneunset IFS# Do more stuff here 我想循环冒号分隔值.在循环中,我想调用一个日志函