From owner-freebsd-hackers Thu Apr 24 20:33:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA20812 for hackers-outgoing; Thu, 24 Apr 1997 20:33:57 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA20807 for ; Thu, 24 Apr 1997 20:33:55 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id NAA00238; Fri, 25 Apr 1997 13:03:39 +0930 (CST) From: Michael Smith Message-Id: <199704250333.NAA00238@genesis.atrad.adelaide.edu.au> Subject: Re: /etc/netstart bogons.. In-Reply-To: from Curt Sampson at "Apr 24, 97 11:54:15 am" To: cjs@portal.ca (Curt Sampson) Date: Fri, 25 Apr 1997 13:03:38 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, jkh@time.cdrom.com, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Curt Sampson stands accused of saying: > On Thu, 24 Apr 1997, Michael Smith wrote: > > > > Make a call now as to whether empty counts as set or unset. NetBSD's > > convention is that set-but-empty means to use the default value, > > whatever that is. > > Not really, no. Setting the variable to "DEFAULT" means use the > default value. Many of our variables are set to "NO" not to run > the program, "DEFAULT" to use reasonable defaults, or a list of > flags. Thus, having the variable set to "" or unset (they're the > same thing in /bin/sh) means `run the program with no command line > arguments.' My apologies; I was looking at a 1.2 machine when I wrote the initial. My only disagreement with that is that unset should mean either NO or DEFAULT, not yes and run with no arguments. It may possibly need to vary depending on context, ie. DTRT in the absence of configuration information. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[