Dash double semicolon (;;) syntax

;; is only used in case constructs, to indicate the end of an alternative. (It’s present where you have break in C.) case $answer in yes) echo ‘yay!’;; no) echo ‘boo!’;; esac Syntactically, ; and & both mark the end of a command. A newline is equivalent to ;, in a first approximation. The difference … Read more