On Sam, 2006-03-18 at 08:24 -0500, Bryan Kadzban wrote:
> DJ Lucas wrote:
> > for FILE in `echo
> > linux/{acct.h,quota.h,resource.h,socket.h,stat.h,time.h,timex.h,un.h,wait.h}`
>
> Er, hang on here -- why are the echo and the backquotes in there? (I
> should note that they're in Jürg's script as well.) They gain nothing,
> and waste at least one process. (I believe this is one of the Useless
> Uses of Backticks, but I could be wrong on that.)
It's right that they gain nothing in the for loops. I've added the
"backticks" to the REMOVE_HEADERS lines on purpose, though, as the shell
doesn't expand braces when defining variables but probably there is a
better way to get expanded variables, don't know.
Jürg
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page