This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: echo with sh.exe doesn't understand multiple parameters


--- John Pollock <jpollock@curl.com> wrote:
> With the echo command, using -n or -e alone with sh works fine:
> 
> $ echo -e blah
> blah
> $ echo -n blah
> blah$
> 
> but when you try to use both flags at once, sh seems to get confused:
> 
> blah$ echo -n -e blah
> -e blah$
> 
> Is there a workaround?
> 

How about `/usr/bin/echo -n -e foo'?

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]