Bash expansion question

gregorcy gregorcy at eng.utah.edu
Wed Feb 18 13:18:00 MST 2009



Barry Roberts wrote:
> On 02/18/2009 01:07 PM, Chris wrote:
>> Dear bash experts,
>>
>> Observe:
>>
>> bash$ echo $(echo "1:2")
>> 1:2
>>
>> bash$ echo $(echo "1,2")
>> 1 2
>>
>>    
> [blr at dalmuti ~]$ echo $(echo "1,2")
> 1,2
> 
> 
> Looks like a personal problem ;-)
> 
> But seriously,  what distro are you on?  It works as expected on fc10, 
> and I'm not sure what setting would affect that, but I don't doubt there 
> is one.
> 


Works for me:

> harley gregorcy # echo $(echo "1,2") 
> 1,2

I am using:
> app-shells/bash-3.2_p48-r1 




More information about the PLUG mailing list