From owner-freebsd-hackers Sun Apr 27 05:02:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA09291 for hackers-outgoing; Sun, 27 Apr 1997 05:02:52 -0700 (PDT) Received: from perki0.connect.com.au (perki0.connect.com.au [192.189.54.85]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA09281 for ; Sun, 27 Apr 1997 05:02:47 -0700 (PDT) Received: from nemeton.UUCP (Unemeton@localhost) by perki0.connect.com.au with UUCP id VAA04510 (8.8.5/IDA-1.6); Sun, 27 Apr 1997 21:59:54 +1000 (EST) Received: from topaz.nemeton.com.au (topaz.nemeton.com.au [203.8.3.18]) by nemeton.com.au (8.8.5/8.8.5) with ESMTP id VAA15979; Sun, 27 Apr 1997 21:46:36 +1000 (EST) Received: from localhost.nemeton.com.au (localhost.nemeton.com.au [127.0.0.1]) by topaz.nemeton.com.au (8.8.5/8.8.5) with SMTP id VAA01731; Sun, 27 Apr 1997 21:50:24 +1000 (EST) Message-Id: <199704271150.VAA01731@topaz.nemeton.com.au> To: Curt Sampson cc: Andrew Gierth , hackers@freebsd.org Subject: Re: /etc/netstart bogons.. In-reply-to: Date: Sun, 27 Apr 1997 21:50:18 +1000 From: Giles Lean Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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