On Mon, March 19, 2007 1:36 pm, Gregory K. Ruiz-Ade wrote:
> On Mar 19, 2007, at 1:23 PM, Ralph Shumaker wrote:
>
>> I got  echo -n  to work just fine.  But I cannot figure out how to
>> get  echo -e Some text.\n  to work.  I tried to use -E, but no
>> change.  echo -e \r  doesn't work either.  What gives?
>>
>> The man page for  echo  doesn't have much.  info coreutils echo
>> has even less.
>> http://unixhelp.ed.ac.uk/CGI/man-cgi?bash+1 doesn't have much either.
>
> Be sure you're using the right "echo".  Depending on your shell, echo
> is a built-in function, and you're not using /bin/echo.  As behaviors
> vary by shell, this can be very important.
>
> Gregory
>

I have the vague memory of having heard that one of the first holy wars in
the Unix world (when the whole UW lived in one room) was whether echo w/o
an argument should output a newline.

-- 
Lan Barnes

SCM Analyst              Linux Guy
Tcl/Tk Enthusiast        Biodiesel Brewer


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to