shell變量裏的字符替換

shell變量裏的字符替換php   b=${a/123/321};將${a}裏的第一個123替換爲321shell b=${a//123/321};將${a}裏的全部123替換爲321bash shell調試:spa sh -x aaa.sh.net from:unix http://bbs.chinaunix.net/viewthread.php?tid=218853&extra=&page=
相關文章
相關標籤/搜索