help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: echo bug?


From: Randy Yates
Subject: Re: echo bug?
Date: Sun, 09 Dec 2007 19:15:35 -0500
User-agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.4.20 (linux)

jellybean stonerfish <stonerfish@geocities.com> 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."
%%%% <yates@ieee.org>           %        'Yours Truly, 2095', *Time*, ELO   
http://www.digitalsignallabs.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]