Rob Kramer wrote:
On 02 December 2008, Michael Clark wrote:
machine B:
yum install $(<package.list)
Off-topic: what's the point of the extra $(..) here? I haven't seen this
construct before together with the '<' operator, but then again I've long
since accepted that I'll never understand all of bash (or equivalent).
It is a way to substitute the result of something executing in a
subshell. an alternative to backticks
echo $(ls)
is equivalent to
echo `ls`
_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet