On Tuesday 22 November 2011, Eric Blake wrote:
> touch =; test -f =; echo $?
>
This is problematic also with pdksh 5.2.14 on Debian:

  $ pdksh -c 'touch ./=; test -f =; echo $?'
  pdksh: test: =: missing second argument
  2

and with /bin/sh on OpenBSD 4.6 as well:

 $ /bin/sh -c 'touch ./=; test -f =; echo $?'
 /bin/sh: test: =: missing second argument
 2

Regards,
  Stefano

Reply via email to