Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 1997 21:50:18 +1000
From:      Giles Lean <giles@nemeton.com.au>
To:        Curt Sampson <cjs@portal.ca>
Cc:        Andrew Gierth <andrew@erlenstar.demon.co.uk>, hackers@freebsd.org
Subject:   Re: /etc/netstart bogons.. 
Message-ID:  <199704271150.VAA01731@topaz.nemeton.com.au>
In-Reply-To: <Pine.NEB.3.93.970426214717.24845C-100000@gnostic.cynic.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 26 Apr 1997 21:47:32 -0700 (PDT)  Curt Sampson wrote:

> > Can't let this slip past: "" and unset are certainly not the same in sh.
> 
> So how do we test for the difference between the two?

Use ${notset-value}.  Use ${notset:-value} if "" should count as
unset.

Giles



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704271150.VAA01731>