On Mon, 2014-06-09 at 13:09 -0700, ToddAndMargo wrote:
> Hi All,
> 
> What am I missing here?  Where did all my spaces go?
> Is this $IFS's doing?
> 
> I can substitute dots for spaces, so I don't have to
> have a solution, I'm just curious what went wrong.
> 
> Many thanks,
> -T
> 
> $ A=abc
> B=xyz
> C="${A}    ${B}"
> 
> echo $C
> abc xyz

You need to enclose $C in quotes:

echo "$C"

Reply via email to