Re: echo bug?

Randy Yates <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization Digital Signal Labs
Message-ID <[email protected]>
jellybean stonerfish <[email protected]> writes:

> On Fri, 07 Dec 2007 18:33:22 -0500, Randy Yates wrote:
>
>> 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?
>
> try echo -e $text

Sorry - that's what I meant to type. That is to say, "echo -e $text$"
doesn't work. 
-- 
%  Randy Yates                  % "I met someone who looks alot like you,
%% Fuquay-Varina, NC            %             she does the things you do, 
%%% 919-577-9882                %                     but she is an IBM."
%%%% <[email protected]>           %        'Yours Truly, 2095', *Time*, 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.