だから
cmd
if [ $? -eq 0 ]; then
echo OK
fi
とかする必要なくて
if cmd; then
で良いって知られてない気がする.
Please Login to reply.
No replies yet.