groups_and_keywords1.tests 297 B

12345678910
  1. echo "Semicolons after } can be omitted 1:"
  2. if { echo foo; } then { echo bar; } fi
  3. echo "Semicolons after } can be omitted 2:"
  4. while { echo foo; } do { echo bar; break; } done
  5. echo "Semicolons after fi can be omitted:"
  6. while if echo foo; then echo bar; fi do echo baz; break; done
  7. echo Done:$?