checkbashisms potential false positives

Adam D. Barratt adam at adam-barratt.org.uk
Tue Nov 6 16:17:58 UTC 2012


[I'm assuming you're not subscribed, so have CCed you; if you are, 
please say so and I won't do it again :)]

On 06.11.2012 14:53, Michael Palimaka wrote:
> 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

It's an "XSI extension", hence the shading around the synopsis in the 
specification. That means that policy doesn't allow you to rely on it.

Regards,

Adam



More information about the devscripts-devel mailing list