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
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf