if [ $foo ]; then if [ $bar ]; then foobar else baz qux fi fi