2
Bashスクリプトエラー:./test:5行目:UID:読み取り専用変数
開発サーバーで正常に機能するスクリプトがありますが、本番環境で実行しようとしても機能しません。 理解できない次のエラーが発生します。 ./test.sh:5行目:UID:読み取り専用変数 助言がありますか? #!/bin/sh while read inputline do UID="$(echo $inputline | cut -d '"' -f4)" PASSWORD="$(echo $inputline | cut -d '"' -f8)" FIRST="$(echo $inputline | cut -d '"' -f6 | cut -d ' ' -f1)" LAST="$(echo $inputline | cut -d '"' -f6 | cut -d ' ' -f2)" zmprov …