From owner-freebsd-stable Sun Feb 25 20:59:42 2001 Delivered-To: freebsd-stable@freebsd.org Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202]) by hub.freebsd.org (Postfix) with SMTP id 29EB637B491 for ; Sun, 25 Feb 2001 20:59:36 -0800 (PST) (envelope-from clefevre@poboxes.com) Received: (qmail 650601 invoked from network); 26 Feb 2001 00:59:34 -0000 Received: from d165.dhcp212-231.cybercable.fr (HELO gits.dyndns.org) ([212.198.231.165]) (envelope-sender ) by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 26 Feb 2001 00:59:34 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.2/8.11.2) id f1Q0wAA14860; Mon, 26 Feb 2001 01:58:10 +0100 (CET) (envelope-from clefevre@poboxes.com) To: Andreas Klemm Cc: "Brandon S. Allbery KF8NH" , stable@FreeBSD.ORG, apsfilter-devel@apsfilter.org, Michael =?iso-8859-1?q?Lo=DFin?= Subject: Re: Brokenness: : ${TMPDIR:-/tmp} results in empty TMPDIR variable References: <20010225134311.A25603@titan.klemm.gtn.com> <98700000.983125443@pyanfar.ece.cmu.edu> <20010225194442.A15290@titan.klemm.gtn.com> X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C In-Reply-To: Andreas Klemm's message of "Sun, 25 Feb 2001 19:44:42 +0100" From: Cyrille Lefevre Reply-To: clefevre@poboxes.com Mail-Copies-To: never Date: 26 Feb 2001 01:58:03 +0100 Message-ID: Lines: 17 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andreas Klemm writes: > Since TMPDIR isn't set, it should be substituted by the default.. that is the case, try this : sh -xc ': ${empty:-hi}; echo $empty' sh -xc ': ${empty:=hi}; echo $empty' > And this doesn't work and I think this is not correct. shells are right, you're not :) Cyrille. -- home: mailto:clefevre@poboxes.com UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message