![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Chnage direcortory upon login | The One | Linux | 9 | 04-13-2008 07:27 PM |
| Solaris 10 - dtlogin port chnage? | kungpow | SUN Solaris | 5 | 02-05-2007 04:50 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
xml value chnage, need help
Group, I have a xml file like this.
Code:
<roll no="32" Name="test" home="AZ" Type="par"> <Info cid="5"> i.e. required output: Code:
<roll no="66" Name="test" home="AZ" Type="par"> <Info cid="5"> I tried this Code:
$ MYID=66; sed -e 's+\(roll no=\)\([0-9]*\).*+\1"'$MYID'">+' my.xml <roll no="66"> <Info cid="5"> HTH, jkl_jkl |
| Forum Sponsor | ||
|
|