This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Bug of bash with sed operation ???
- To: zqian at cisco dot com
- Subject: Re: Bug of bash with sed operation ???
- From: "Jorg Schaible" <jorg dot schaible at db dot com>
- Date: Tue, 20 Jun 2000 17:21:14 +0000
- Cc: cygwin at sourceware dot cygnus dot com
Try: out=`echo $MY | sed -e 's#\\\\#\\/#g'`
---------------------------------------- Message History ----------------------------------------
From: zqian@cisco.com on 20/06/2000 14:35
To: cygwin@sourceware.cygnus.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@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com