Resolved now.
The variable contained a slash '/'. That is why is it did not work with 
delimiter / but did work with , delimiter.


Is there any way in which we write the command using such a delimiter which 
works irrespective of the special symbols present in the replacement string.

Regards
Sonal Kumari
Tata Consultancy Services Limited
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
Business Solutions
Consulting
____________________________________________


-----Martin Guy <[email protected]> wrote: -----
To: Sonal Kumari <[email protected]>
From: Martin Guy <[email protected]>
Date: 05/20/2015 05:00PM
Subject: Re: [Bug-ed] Help with ed command

On 20/05/2015, Sonal Kumari <[email protected]> wrote:
> While using the ed command on AIX (7.1)server, the below command doesn't
> work :
>
> s/DB_ENC_PWD/$EncPassword/
>
> However, when the same is changed to
>
> s,DB_ENC_PWD,$EncPassword
>
> it starts working fine. Is there any explanation for this?

Hi! I've never seen that behaviour on other systems.
Can you arrange ssh access to the AIX system via internet so that I
can try to pinpoint the problem?

   M
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
bug-ed mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to