bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: case statement: wrong behaviour of the ";;&" operator


From: Robert Elz
Subject: Re: case statement: wrong behaviour of the ";;&" operator
Date: Sun, 27 Jan 2019 14:45:51 +0700

    Date:        Sat, 26 Jan 2019 06:30:05 +0100
    From:        Norman Krebs <address@hidden>
    Message-ID:  <address@hidden>


  |     Following the man page, the ';;&' operator should cause testing the 
_next_
  |     pattern: '2)' only and not _all_ following patterns.

Badly worded manual.   What it means is "pretend this match didn't happen,
even though the command list has been executed, and continue scanning
the patterns in the case statement looking for another match, then do its
list, and after that, whatever its terminating operator says to do".   But that
is quite a mouthfull ...

kre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]