GNU bug report logs - #7947
Does sh-script.el recognize new case grammar ;& and ;;& ?

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Mon, 31 Jan 2011 12:56:01 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7947 <at> debbugs.gnu.org
Subject: bug#7947: Does sh-script.el recognize new case grammar ; & and ; ; & ?
Date: Mon, 31 Jan 2011 17:50:00 -0500
Stefan Monnier wrote:

> Do you have a reference describing what it means

http://tiswww.case.edu/php/chet/bash/NEWS

This is a terse description of the new features added to bash-4.0
[...]

ee. The new `;&' case statement action list terminator causes
    execution to continue with the action associated with the next
    pattern in the statement rather than terminating the command.

ff. The new `;;&' case statement action list terminator causes the
    shell to test the next set of patterns after completing execution
    of the current action, rather than terminating the command.


So basically they can appear in place of ';;' and should be treated
exactly the same as ';;'.




This bug report was last modified 14 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.