nit: |if [ ... ]; then|