autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get rid of dinkleberry autotools temp dirs?


From: Thomas Dickey
Subject: Re: How can I get rid of dinkleberry autotools temp dirs?
Date: Sat, 21 Jan 2006 19:40:53 -0500 (EST)

On Sat, 21 Jan 2006, Bruce Korb wrote:

Now, I have a curiosity question.  Why this (unchanged) construct:

   test -n "$tmp" && test -d "$tmp"

and not just:   test -d "$tmp"
It is sufficient for every shell I know about.  Even some pretty old
ones.  :)

Some old shells would match an empty $tmp with "."
(I don't recall which, but did run into it).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]