sed '/<!--/,/-->/d' /target/file.xml
Lol that does not work it's a train check, I think I'll just try Perl for this. it doesn't help that sed behaves differently on Linux vs Mac, whereas Perl is Perl... same goes for Python
Just tried it again. Worked great... On Linux. The moral of the story is: Don't use a Mac.
Lol that does not work it's a train check, I think I'll just try Perl for this. it doesn't help that sed behaves differently on Linux vs Mac, whereas Perl is Perl... same goes for Python
ReplyDeleteJust tried it again. Worked great... On Linux. The moral of the story is: Don't use a Mac.
ReplyDelete