DASH Shell discussions
 help / color / mirror / Atom feed
From: Arav Verma <svav2021@gmail.com>
To: herbert@gondor.apana.org.au
Cc: dash@vger.kernel.org, Arav Verma <svav2021@gmail.com>
Subject: [PATCH 2/2] man: Document the case fallthrough (;&) operator
Date: Wed, 25 Nov 2026 16:09:31 -0600	[thread overview]
Message-ID: <20261125220931.849457-2-svav2021@gmail.com> (raw)
In-Reply-To: <20261125220931.849457-1-svav2021@gmail.com>

Describe the ;& case clause terminator added in the previous patch.

Signed-off-by: Arav Verma <svav2021@gmail.com>
---
 src/dash.1 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/dash.1 b/src/dash.1
index e1031a5..c948309 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -682,6 +682,16 @@ The
 (
 .Dc
 character before the pattern is optional.
+If a list is terminated by
+.Dq ;&
+instead of
+.Dq ;; ,
+execution continues with the list of the next clause without testing
+its patterns, and so on until a clause terminated by
+.Dq ;;
+or the end of the
+.Ic case
+command is reached.
 .Ss Grouping Commands Together
 Commands may be grouped by writing either
 .Pp
-- 
2.47.3


      reply	other threads:[~2026-11-25 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 22:09 [PATCH 1/2] case: Implement fallthrough (;&) operator Arav Verma
2026-11-25 22:09 ` Arav Verma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125220931.849457-2-svav2021@gmail.com \
    --to=svav2021@gmail.com \
    --cc=dash@vger.kernel.org \
    --cc=herbert@gondor.apana.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox