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 Subject: Re: Bug of bash with sed operation ??? To: zqian AT cisco DOT com Cc: cygwin AT sourceware DOT cygnus DOT com From: "Jorg Schaible" Date: Tue, 20 Jun 2000 17:21:14 +0000 Message-ID: X-MIMETrack: Serialize by Router on sdbo1003/DMGUK/DeuBaInt/DeuBa(Release 5.0.3 (Intl)|21 March 2000) at 20/06/2000 05:21:17 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Try: out=`echo $MY | sed -e 's#\\\\#\\/#g'` ---------------------------------------- Message History ---------------------------------------- From: zqian AT cisco DOT com on 20/06/2000 14:35 To: cygwin AT sourceware DOT cygnus DOT com cc: Subject: Bug of bash with sed operation ??? 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. Thanks. Zhiguang Qian -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com