Skip site navigation (1)Skip section navigation (2)
Date:      26 Feb 2001 01:58:03 +0100
From:      Cyrille Lefevre <clefevre@poboxes.com>
To:        Andreas Klemm <andreas@FreeBSD.ORG>
Cc:        "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>, stable@FreeBSD.ORG, apsfilter-devel@apsfilter.org, Michael =?iso-8859-1?q?Lo=DFin?= <phallobst@web.de>
Subject:   Re: Brokenness: : ${TMPDIR:-/tmp} results in empty TMPDIR variable
Message-ID:  <wvae2rc4.fsf@gits.dyndns.org>
In-Reply-To: Andreas Klemm's message of "Sun, 25 Feb 2001 19:44:42 %2B0100"
References:  <20010225134311.A25603@titan.klemm.gtn.com> <98700000.983125443@pyanfar.ece.cmu.edu> <20010225194442.A15290@titan.klemm.gtn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Klemm <andreas@FreeBSD.ORG> 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




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