[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#381800: lintian: [checks/scripts] unjustified possible-bashism-in-maintainer-script



> Currently, lintian reports the shell construct 'if [[ ... ]]' as
> bashism. I am not sure this is correct, since all POSIX 1003.2 resources
> available to me declare '[[' and ']]' a standard conditional expression
> check in POSIX sh (don't confuse with older Bourne sh). See, for
> example:

They are incorrect.

http://www.opengroup.org/onlinepubs/000095399/utilities/test.html



Reply to: