Perl: Simple Replacement of values in XML
Hey guys,
sorry to bother you, but I'm not a big perl man and badly need this. Thanks for any help in advance! I Have an XML file like: Code:
<configuration> If there is any perl geek around: Thank you! :) Cheers Philipp |
Quote:
|
Does it have to be perl? I could probably do it with awk or sed.
|
Is there anything 'XML-specific' about this? Simple substitution, using sed seems to be the easiest way to meet your spec.
Code:
sed s/mykey1/NEWVALUE/g filename.xml --- rod. |
All times are GMT -5. The time now is 01:57 PM. |