Bug of bash with sed operation ???
Earnie Boyd
earnie_boyd@yahoo.com
Tue Jun 20 09:10:00 GMT 2000
--- Zhiguang Qian <zqian@cisco.com> wrote:
> Hi,
>
> Here is the sample.
>
> >>export MY=\aaa\bbb.c
> >>echo $MY | sed -e 's#\\#\/#g'
> >> /aaa/bbb.c
> >>out=`echo $MY | sed -e 's#\\#\/#g'`
> >> sed: -e expression #1, char 8: Unterminated `s' command
>
> Try it.
>
I just tried it and it worked for me in version 2.03.0(2).
So, what are our differences? It could be sed but I'm thinking that it is a
bug introduced in bash-2.04.
Regards,
=====
---
Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
__Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
__Minimalist GNU for Windows__
Mingw32 List: < http://www.egroups.com/group/mingw32/ >
Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
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