title: How do I get the opposite of the if construct in Bash?
body: <p><code>if date -d "2012010123"</code> runs if the date command returns a zero exit code. How do I get the opposite to occur? In other words, how can I get the if statement to run if the exit code is 1? </p>