checkbashisms potential false positives

Michael Palimaka kensington at gentoo.org
Tue Nov 6 14:53:33 UTC 2012


Hello,

I ran into a couple of potential false positives with checkbashisms today:

#1 - I was under the impression that 'type' is indeed POSIX, however:
possible bashism in test.sh line 2 (type):
type cd

#2 - it looks like the wildcard expression is being seen as the condition?
possible bashism in test.sh line 2 ([^] should be [!]):
rm -rf -- [^ajlq\.]*

Any thoughts would be much appreciated.

Best regards,
Michael




More information about the devscripts-devel mailing list