Operating System - HP-UX
1851544 Members
4452 Online
104060 Solutions
New Discussion

Re: How to replace < with < in AutoExpect Script??

 
sweetu
Occasional Contributor

How to replace < with < in AutoExpect Script??

According to requirements, I need to find the xml which comes in between < message data > tag and that message tags should be converted from < to < and > to >. How to do this with EXPECT. Any suggestions are appreciated.

Message looks as follows,

<ASNOutDesc
<to_location>jqofVPæ±</to_location>
lt;from_location>DxZvzWæ±</from_location>

1 REPLY 1
likid0
Honored Contributor

Re: How to replace < with < in AutoExpect Script??

Why with expect ?

why don't you try with sed ?, or even in vi.
Windows?, no thanks