Wow, this is ugly. But kinda works:
# diff upstart-job /lib/init/upstart-job 45c45,47 < $COMMAND "$JOB" --- > RESULT=$($COMMAND "$JOB") > $ECHO $RESULT > $ECHO $RESULT | grep -q -v "stop/waiting"
Wow, this is ugly. But kinda works:
# diff upstart-job /lib/init/ upstart- job
45c45,47
< $COMMAND "$JOB"
---
> RESULT=$($COMMAND "$JOB")
> $ECHO $RESULT
> $ECHO $RESULT | grep -q -v "stop/waiting"