Em Tue, 22 Nov 2016 17:40:27 +0200 Jani Nikula <jani.nik...@intel.com> escreveu:
> On Tue, 22 Nov 2016, Mauro Carvalho Chehab <mche...@s-opensource.com> wrote: > > I tried both, none broke the long lines on > > Documentation/media/uapi/v4l/fieldseq_tb.svg. > > How about: > > 'tidy -xml -i Documentation/media/uapi/v4l/fieldseq_tb.svg | fmt -sw 80' > > Both pretty indents and folds. I think it should Just Work(tm). No, it didn't... Try this: $ tidy -xml -i Documentation/media/uapi/dvb/dvbstb.svg|fmt -sw 80 >a.svg And open both images with inkscape. You'll see that it mangled the texts :-( Just using fmt didn't seem to cause issues, at least on this image, but I'll do more tests to be sure. Regards, Mauro