Subject: [PATCH 07/14] checkbashisms: detect the ';;&' and ';&' case/esac operators

From: Raphael Geissert <[email-masked]>
Date: Wed, 12 May 2010 14:59:17 -0500

Signed-off-by: Raphael Geissert <[email-masked]>
---
 scripts/checkbashisms.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 9930b53..1117a9c 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -520,6 +520,7 @@ sub init_hashes {
 	qr'\[\^[^]]+\]' =>  q<[^] should be [!]>,
 	$LEADIN . qr'printf\s+-v' => q<'printf -v var ...' should be var='$(printf ...)'>,
 	$LEADIN . qr'coproc\s' =>        q<coproc>,
+	qr';;?&' =>  q<;;& and ;& special case operators>,
     );
 
     %string_bashisms = (
-- 
1.7.1