以下の内容はhttps://iww.hateblo.jp/entry/20120403/testより取得しました。


binary operator expected

    test -f /tmp/hoge
    if [ "$?" eq 0 ]; then
         echo hoge
    fi
./hoge.sh: line 57: [: eq: binary operator expected

eqじゃなくて-eq




以上の内容はhttps://iww.hateblo.jp/entry/20120403/testより取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14