Timeline for Replace Tag of and xml file after pattern matching using shell
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 10, 2021 at 13:25 | history | edited | Kusalananda♦ | edited tags | |
| Mar 10, 2021 at 13:15 | answer | added | Kusalananda♦ | timeline score: 2 | |
| Mar 10, 2021 at 9:35 | comment | added | berndbausch | It would take me too long to do that for free. | |
| Mar 10, 2021 at 9:30 | comment | added | DEEP MUKHERJEE | Since i am new to shell scripting can you please help me out with the code for awk? | |
| Mar 10, 2021 at 9:29 | comment | added | berndbausch | Assuming that <ReconSummary> is not nested, use awk. When you detect this tag, collect lines in an array until you reach <entryName>. If it contains Total Deep, write "<!--", then the lines from the array. Write the rest until you hit the closing tag, then write "-->". If it contains something else, do the same but omit the comment strings. | |
| Mar 10, 2021 at 9:22 | comment | added | DEEP MUKHERJEE | i have to do with shell scripting | |
| Mar 10, 2021 at 9:16 | comment | added | berndbausch | There are tools for XML processing. To start, see stackoverflow.com/questions/91791/…. | |
| Mar 10, 2021 at 9:02 | review | First posts | |||
| Mar 10, 2021 at 9:30 | |||||
| Mar 10, 2021 at 8:58 | history | asked | DEEP MUKHERJEE | CC BY-SA 4.0 |