${var/pattern/substitute} 如果var有pattern吻合就代換成substitute. 請看一個例子 # remote shell $RSH會等於/usr/bin/rsh 如果RSH當初沒有給值RSH=${RSH:-/usr ...
確定! 回上一頁