Hi, I discovered a bug in the parameter parsing of the test built-in:
$ test -n '<' -a true -bash: test: too many arguments It occurs with '>' and '<' but only with a second test combined with -a or -o. If also occurs if the < or > are saved in a variable: $ foobar='<' $ test -n "$foobar" -a true -bash: test: too many arguments $ bash -version GNU bash, version 4.2.37(1)-release Thanks, Alex