Skip to main content
edited tags
Link
terdon
  • 252.9k
  • 69
  • 481
  • 720
Source Link
maihabunash
  • 7.2k
  • 22
  • 68
  • 80

how to delete line from the XML file

how to delete only the line from xml file ( with sed/awk or perl one liner line )

that start with:

<units> 

and ended with

</Networks> 

as the follwoing

<units><unit ip= ............ </units><ranges/></Networks>