> Even though it's my preferred shell, I certainly wouldn't say
> that Bash is any sort of standard, certainly not in the POSIX
> sense.
Bash implements the POSIX.2 standard, with certain well-defined
exceptions (`posix mode').
> Imagine processing a possibly empty list constructed from a
> 'make' expansion... Without this behavior one would have to
> code a guard of some sort around the 'for' construct.
The idiomatic solution for this sort of thing is changing
your makefile recipes from
for f in ${SUBDIRS} do ...
to
sh_subdirs=${SUBDIRS}; for f in $$sh_subdirs ; do ...
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message