[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test -n "${var+set}"?

From: Larry Jones
Subject: Re: test -n "${var+set}"?
Date: Wed, 18 Feb 2004 10:51:05 -0500 (EST)

Derek Robert Price writes:
>           $ test -n =
>           test: argument expected
> Does this mean that if $var EXPANDS to `=' that some shells will break?

Yep.  I didn't realize that some versions of test were so broken.

-Larry Jones

I always have to help Dad establish the proper context. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]