The following commit has been merged in the master branch:
commit 92eed309ff200bf210aa83ce52225268f684b24d
Author: Raphael Geissert <[email protected]>
Date: Wed May 12 14:59:17 2010 -0500
checkbashisms: detect the ';;&' and ';&' case/esac operators
Signed-off-by: Raphael Geissert <[email protected]>
Signed-off-by: James Vega <[email protected]>
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 = (
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].