vgersh99
Your code is working fine , thanks a lot for the solution.
I am trying to understand the code , I am not able to figure out , can you help me please.
matrixmadhan
when I execute the commond , I am getting the error as below ,
bash-2.05$ awk '{ if ( match($0, "KSG/Password") ) { getline; print "<value>psoft123<\/value>" } else { print } }' abc.xml
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: bailing out near line 1
thanks