Now id like to create another perl file, called replace.pl which will replace the value of <bindpass> from 'welcome1' to 'welcome123' in all cases where the previous line is '<binddn>cn=xyzzz</binddn>' Thanks !<binddn>cn=abcde</binddn> <bindpass>welcome1</bindpass> <binddn>cn=abcde</binddn> <bindpass>welcome1</bindpass> <binddn>cn=xyzzz</binddn> <bindpass>welcome1</bindpass>
In reply to String replace, another question by heeru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |