On 07/06/15 05:12, Alexis Ballier wrote: > On Sat, 6 Jun 2015 22:00:14 -0400 > Mike Gilbert <flop...@gentoo.org> wrote: > >> Compatibility with sed scripts is not something I care about. > > and is something nobody should care about: xml is not a regular > language :) >
If you are enforcing split lines on every single tag except ones that can be shortened like <tag />, then it does not matter if you use 4 spaces or tabs. Both would be compatible with sed assuming the indenting is correct in either case. With regard to white space within tags is another story. The rule should still apply there and so compatibility would remain. However, I do not disagree an XML parser is better than sed for the purpose. There are plenty of XML pretty printers.