On Wed, 2009-02-18 at 13:07 -0700, Chris wrote:
> Dear bash experts,
> 
> Observe:
> 
> bash$ echo $(echo "1:2")
> 1:2
> 
> bash$ echo $(echo "1,2")
> 1 2

I can replicate the behavior.

        [cedwa...@pheasant ~]$ echo $(echo "1,2")
        1,2
        [cedwa...@pheasant ~]$ IFS=,
        [cedwa...@pheasant ~]$ echo $(echo "1,2")
        1 2

That should give you something to research. If IFS is unset, I'm not
sure how it would be happening. Perhaps there's a default set in your
build of bash.

Corey

Attachment: signature.asc
Description: This is a digitally signed message part

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to