echo bug?

Randy Yates <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization Digital Signal Labs
Message-ID <[email protected]>
I'm not sure if the problem is echo or the bash shell. 

echo -e "123\n   456"

yields the proper spacing. However, 

text="123\n   456"
echo $text

does not. Why not?
-- 
%  Randy Yates                  % "My Shangri-la has gone away, fading like 
%% Fuquay-Varina, NC            %  the Beatles on 'Hey Jude'" 
%%% 919-577-9882                %  
%%%% <[email protected]>           % 'Shangri-La', *A New World Record*, ELO
http://www.digitalsignallabs.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.