0
後,我使用shell膩子執行從Git的遠程腳本:語法錯誤執行shell腳本
curl -s https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/uninstall/dotnet-uninstall-debian-packages.sh >dotnet-uninstall-debian-packages.sh
./dotnet-uninstall-debian-packages.sh
但突然接到一個語法錯誤:
Syntax error near unexpected token newline
<!DOCTYPE html>
你使用默認的'sh'殼或'bash'運行它,你可以試試'慶典dotn et-uninstall-debian-packages.sh'? – Inian