perl -e 'exit 304' || echo $? # and for the fun of it: awk 'BEGIN {exit 304}' || echo $?