id:otsune 様が test(1) なんて不思議な man を言っていたので見てみました。 まさかこんな罠があるなんて・・・勉強不足なだけとか言わない。 先日のエントリーで関連のある項目を抜き出してみました。 -x file True if file exists and is executable. True indicates only that the execute flag is on. If file is a directory, true indicates that file can be searched. ! expression True if expression is false. 以下は日本語マニュアルからです。 -x file file が存在し、実行可能であれば真になります。真ということ は、実行可能フラグが立っていることを表すに過ぎません。 fil