diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-17 15:36:01 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-17 15:36:01 +0200 |
commit | 556d1304d0ae18c6876407c99e575cf78376e694 (patch) | |
tree | 0e63358d9b2c4277e0d6444f298204d36c25c73d | |
parent | 2f78769d6537e936a4981e641eb75d229da81d98 (diff) | |
download | bash-completion-556d1304d0ae18c6876407c99e575cf78376e694.tar.gz |
(testsuite) Add check for awk with POSIX character classes.
-rwxr-xr-x | test/runLint | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/runLint b/test/runLint index 9a64326f..b0016763 100755 --- a/test/runLint +++ b/test/runLint @@ -16,7 +16,10 @@ cd $(dirname "$0") ; cd .. gitgrep "\bawk\b.*-F([[:space:]]|[[:space:]]*[\"'][^\"']{2,})" \ 'awk with -F char or -F ERE, use -Fchar instead (Solaris)' - + +gitgrep "\bawk\b.*\[:[a-z]*:\]" \ + 'awk with POSIX character class not supported in mawk (Debian/Ubuntu)' + gitgrep '\bsed\b.*\\[?+]' \ 'sed with ? or +, use POSIX BRE instead (\{m,n\})' |