The following commit has been merged in the master branch:
commit 4068bf40f060326a4027f06b8bdb63b263158817
Author: Raphael Geissert <[email protected]>
Date:   Thu May 27 10:01:23 2010 -0500

    checkbashisms: detect the use of 'command' with options other than -p
    
    Options -v and -V are only part of the "User Portability Utilities"
    part of SUSv3.
    
    Signed-off-by: James Vega <[email protected]>

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 3b487d0..f3f4ff4 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -548,6 +548,7 @@ sub init_hashes {
        qr';;?&' =>  q<;;& and ;& special case operators>,
        $LEADIN . qr'jobs\s' =>  q<jobs>,
 #      $LEADIN . qr'jobs\s+-[^lp]\s' =>  q<'jobs' with option other than -l or 
-p>,
+       $LEADIN . qr'command\s+-[^p]\s' =>  q<'command' with option other than 
-p>,
     );
 
     %string_bashisms = (

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to