Subject: Re: Bug of bash with sed operation ???
From: "Jorg Schaible" <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Tue, 20 Jun 2000 17:21:14 +0000

Try: out=`echo $MY | sed -e 's#\\\\#\\/#g'`

---------------------------------------- Message History ----------------------------------------

From: [email-masked] on 20/06/2000 14:35

To:   [email-masked]
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 [email-masked]

--
Want to unsubscribe from this list?
Send a message to [email-masked]