[Slugnet] yum question
Michael Clark
michael at metaparadigm.com
Tue Dec 2 22:17:28 SGT 2008
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`
More information about the Slugnet
mailing list