SVN devscripts commit: r534 - in trunk: debian scripts
Stefano Zacchiroli
zack at alioth.debian.org
Sun Feb 25 12:47:32 CET 2007
Author: zack
Date: 2007-02-25 12:47:31 +0100 (Sun, 25 Feb 2007)
New Revision: 534
Modified:
trunk/debian/changelog
trunk/scripts/checkbashisms.pl
Log:
checkbashisms: support for a couple more bashisms
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-02-24 23:11:18 UTC (rev 533)
+++ trunk/debian/changelog 2007-02-25 11:47:31 UTC (rev 534)
@@ -39,8 +39,10 @@
* mass-bug: enable (--severity cmdline flag) the specification of the
severity of the reported bugs, based on a patch from Adam D. Barratt
(Closes: #386124)
+ * checkbashisms: add detection of "${!prefix"-like bashisms, patch from Adam
+ D. Barratt (Closes: #409028)
- -- Stefano Zacchiroli <zack at debian.org> Sat, 24 Feb 2007 13:02:21 +0100
+ -- Stefano Zacchiroli <zack at debian.org> Sun, 25 Feb 2007 12:44:54 +0100
devscripts (2.9.27) unstable; urgency=low
Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl 2007-02-24 23:11:18 UTC (rev 533)
+++ trunk/scripts/checkbashisms.pl 2007-02-25 11:47:31 UTC (rev 534)
@@ -114,6 +114,8 @@
'\s\|\&' => q<pipelining is not POSIX>,
'\$\[\w+\]' => q<arithmetic not allowed>,
'\$\{\w+\:\d+(?::\d+)?\}' => q<${foo:3[:1]}>,
+ '\$\{!\w+[@*]\}' => q<${!prefix[*|@]>,
+ '\$\{!\w+\}' => q<${!name}>,
'\$\{\w+(/.+?){1,2}\}' => q<${parm/?/pat[/str]}>,
'[^\\\]\{([^\s]+?,)+[^\\\}\s]+\}' =>
q<brace expansion>,
More information about the Devscripts-devel
mailing list