Bash Conditional Statements Geometry