' P '

whatever I will forget

Entries from 2019-08-28 to 1 day

Shell if文分岐のエラーでハマる (not found)エラー

echo "continue? (y/n)" read continue if [ $continue = "y" ]; then : else exit fi こんな簡単なコードですが、 echo "continue? (y/n)" read continue if $continue = "y" then : else exit fi 上記のように記述していたら、 test.sh[n]: y: not found …