ls colors - command substitution - mainly a bash question

J. Jones jjones at darkside.dynup.net
Sun Jul 15 10:52:07 PDT 2001


On Sun, Jul 15, 2001 at 12:49:10PM -0400, Kevin Krumwiede wrote:
> # $(echo 'echo foo')
> 
> This prints 'foo'.  But this fails:
> 
> # $(dircolors /etc/DIR_COLORS)
> 
> # FOO='BAR=baz'
> # $FOO
> 
> This obviously works:
> 
> # dircolors /etc/DIR_COLORS > setcolors; source setcolors

eval `dircolors`

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the lfs-dev mailing list