2 ms·
Yeah you are right, but if the input is more sophisticated I would probably use a scripting language and its full-fledged XML parser. Your replace part is alre
by protomikron 10y ago
Yeah you are right, but if the input is more sophisticated I would probably use a scripting language and its full-fledged XML parser.
Your replace part is already covered by sed (although I agree with you that the escaping can be awkward).