Bug#231958: [Popcon-developers] Bug#231958: popularity-contest: XSIism in cronjob

Clint Adams Clint Adams <schizo@debian.org>, 231958@bugs.debian.org
Mon, 9 Feb 2004 18:35:17 -0500


> The program [ in Debian supports -o. Do you mean a POSIX shell can
> include a built-in '[' command that does not support this option ?
> Can it include a built-in 'test' command ?

Yes, [ and test are almost always builtins.  The binary operators -a and
-o are X/Open extensions to test/[.  test or [, whether built-in or a
strict POSIX version in /usr/local/bin, are allowed to fail on such
input.