Re: [PATCH 01/10] check_bindir: don't use the -a or -o option with the test command
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- May 15, 2014, 16:21 UTC
- Message-ID
- <vpqr43v3tdo.fsf@anie.imag.fr>
- In-Reply-To
- <1400163710-28333-1-git-send-email-gitter.spiros@gmail.com>
Elia Pinto <gitter.spiros@gmail.com> writes:
> $ test -z "$x" -a a = b > bash: test: too many arguments > > because it groups "test -n = -a" and is left with "a = b".
I guess you meant -z, not -n.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/