';;' は Unix の連鎖演算子ですか? どのように機能しますか?

';;' は Unix の連鎖演算子ですか? どのように機能しますか?

私の先生は次のような連鎖演算子を挙げています。

& && ( ) ; ;; | || new line

;; は連鎖演算子であり、何をするのでしょうか?

答え1

case先生はおそらく、の文bashと、各オプション文が によってどのように閉じられるかについて後で説明するでしょう;;

例えば:

case $space in
[1-6]*)
  Message="All is quiet."
  ;;
[7-8]*)
  Message="Start thinking about cleaning out some stuff.  There's a partition that is $space % full."
  ;;
9[1-8])
  Message="Better hurry with that new disk...  One partition is $space % full."
  ;;
99)
  Message="I'm drowning here!  There's a partition at $space %!"
  ;;
*)
  Message="I seem to be running with an nonexistent amount of disk space..."
  ;;
esac

見るTLDP 初心者向け Bash ガイド - 7.3. case ステートメントの使用

関連情報