The following commit has been merged in the master branch:
commit 6e2c384ea8b55a3009a920a470fb76d98c25275f
Author: Raphael Geissert <[email protected]>
Date: Wed May 12 14:51:54 2010 -0500
checkbashisms: detect the use of the 'coproc' built-in
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 1074ed9..9930b53 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -519,6 +519,7 @@ sub init_hashes {
$LEADIN . qr'(sh|\$\{?SHELL\}?) [-+]O' => q<sh [-+]O>,
qr'\[\^[^]]+\]' => q<[^] should be [!]>,
$LEADIN . qr'printf\s+-v' => q<'printf -v var ...' should be
var='$(printf ...)'>,
+ $LEADIN . qr'coproc\s' => q<coproc>,
);
%string_bashisms = (
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].