From owner-freebsd-hackers Sat Apr 26 18:18:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA21699 for hackers-outgoing; Sat, 26 Apr 1997 18:18:17 -0700 (PDT) Received: from labs.usn.blaze.net.au (labs.usn.blaze.net.au [203.17.53.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA21661 for ; Sat, 26 Apr 1997 18:17:53 -0700 (PDT) Received: from labs.usn.blaze.net.au (local [127.0.0.1]) by labs.usn.blaze.net.au (8.8.5/8.8.5) with ESMTP id LAA27890; Sun, 27 Apr 1997 11:17:10 +1000 (EST) Message-Id: <199704270117.LAA27890@labs.usn.blaze.net.au> X-Mailer: exmh version 2.0gamma 1/27/96 To: Andrew Gierth cc: Curt Sampson , hackers@freebsd.org Subject: Re: /etc/netstart bogons.. In-reply-to: Your message of "26 Apr 1997 11:23:39 +0100." <87u3kunkus.fsf@erlenstar.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 27 Apr 1997 11:17:10 +1000 From: David Nugent Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > At 11:54 AM 4/24/97 -0700, Curt Sampson wrote: > >> Thus, having the variable set to "" or unset (they're the > >> same thing in /bin/sh) > > Can't let this slip past: "" and unset are certainly not the > same in sh. Well, no of course not, technically. However, the manner in which the variables are tested allows it to amount to the same thing. ie. an unset variable evaluates to "". Curt's addition of "in /bin/sh" is the clue; unlike the (imho broken) /bin/csh semantics which error on reference to an unset (as distinct from empty) variable. David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/