Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2011 13:03:49 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh eval.c mktokens nodetypes parser.c sh.1 src/tools/regression/bin/sh/builtins case9.0
Message-ID:  <201106171304.p5HD4YF1029525@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2011-06-17 13:03:49 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               eval.c mktokens nodetypes parser.c sh.1 
  Added files:
    tools/regression/bin/sh/builtins case9.0 
  Log:
  SVN rev 223186 on 2011-06-17 13:03:49Z by jilles
  
  sh: Add case statement fallthrough (with ';&' instead of ';;').
  
  Replacing ;; with the new control operator ;& will cause the next list to be
  executed as well without checking its pattern, continuing until a list ends
  with ;; or until the end of the case statement. This is like omitting
  "break" in a C "switch" statement.
  
  The sequence ;& was formerly invalid.
  
  This feature is proposed for the next POSIX issue in Austin Group issue
  #449.
  
  Revision  Changes    Path
  1.111     +8 -0      src/bin/sh/eval.c
  1.12      +1 -0      src/bin/sh/mktokens
  1.11      +2 -1      src/bin/sh/nodetypes
  1.114     +10 -4     src/bin/sh/parser.c
  1.170     +7 -2      src/bin/sh/sh.1
  1.1       +39 -0     src/tools/regression/bin/sh/builtins/case9.0 (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106171304.p5HD4YF1029525>