Bash expansion question

Barry Roberts blr at robertsr.us
Wed Feb 18 13:15:11 MST 2009


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.

FWIW,
Barry




More information about the PLUG mailing list