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