linux--shell錯誤:syntax error near unexpected token ‘('

這幾天編寫了幾個簡單的shell程序,而後都出現了syntax error near unexpected token ‘('shell 的錯誤,而後實在是檢查不出錯誤;後面百度了才找到的緣由:spa 以前錯誤的程序片斷以下:token usr=$ (whoami)百度 dr=$ (pwd) 程序 提示的錯誤以下: error syntax error near unexpected token
相關文章
相關標籤/搜索