echo with sh.exe doesn't understand multiple parameters

Earnie Boyd earnie_boyd@yahoo.com
Thu Oct 19 17:39:00 GMT 2000


--- 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



More information about the Cygwin mailing list