79488789

Date: 2025-03-06 09:18:16
Score: 1.5
Natty:
Report link

Found a quick solution with 2 sed commands applied in succession like this:

sed -i '/<tag>.*<\/tag>/d' test.xml
sed -i '/<tag>/,/<\/tag>/d' test.xml
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MS13