Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <20000620161558.22088.qmail@web106.yahoomail.com> Date: Tue, 20 Jun 2000 09:15:58 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: Bug of bash with sed operation ??? To: Zhiguang Qian , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Zhiguang Qian 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: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ 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 AT sourceware DOT cygnus DOT com