Search Results

Search: Posts Made By: collern2
2,849
Posted By collern2
Problems with SED
I have a group of xml files and I need to insert 3 parameters just after this line in each file:
---------------Pattern to be searched for-------------------------
<!--The following configuration...
2,329
Posted By collern2
Just after: <?xml version="1.0"...
Just after:
<?xml version="1.0" encoding="utf-8"?>
<config xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">

Awk or sed, it doesn't really matter. Newbie here
2,329
Posted By collern2
Sed functionality
I have a few xml files and I want to input say 5 parameters within each file. is it possible to do so with sed?



<parameter>A</parameter>

<parameter>B</parameter>

....
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy