Subject: [PATCH 06/14] checkbashisms: detect the use of the 'coproc' built-in

From: Raphael Geissert <[email-masked]>
Date: Wed, 12 May 2010 14:51:54 -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 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 = (
-- 
1.7.1