>  2003/05/09 (金) 17:50:27        [mirai]
> > unixコマンドでifの使い方が解らない
> if test-commands; then
>   consequent-commands;
> [elif more-test-commands; then
>   more-consequents;]
> [else alternate-consequents;]
> fi

それはbashの構文じゃない?
コマンドで使いたいんだが if (ps -ef | sort -kM 5 | wc -l) echo 'unko'
とか出来ないの?

参考:2003/05/09(金)17時48分11秒