2012-08-18 コマンドの存在を判定する shellscript if [[ -x `which -p git` ]]; then // any codes fiwhich git >/dev/null 2>&1 で判定していたけど、\[\[ -x ]] で判定するのが一般的なようだ。