Paul Jarc wrote:
Matthew Woehlke <[EMAIL PROTECTED]> wrote:
Stephane Chazelas wrote:
[ -n "$foo" -a -n "$bar" ]
is not the expression to test whether both "$foo" and "$bar" are
non-empty, as it would fail for some specific values of $foo or
$bar (try it when $foo contains "=" for instance).
Huh? Why would having an '=' in foo have any effect?

I think Stephane meant the exact string "=", not any string containing
"=".

Ah, yes, *that* would cause problems.
/me reads "contains" in the string sense, not the value sense :-)

--
Matthew
"...anyway, that's my 0.02 toasters"
(with apologies to Niel)



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to