linux/Documentation/media/uapi/v4l/crop.svg
Mauro Carvalho Chehab 474dfccf36 media: svg: avoid too long lines
Sending patches with SVG files via e-mail has a drawback: line
size could be bigger than 998, with is the limit given by
RFC 5322[1]. So, we need to enforce a lower limit, in order to
allow those patches to be properly reviewed.

[1] https://tools.ietf.org/html/rfc5322#section-2.1.1

So, use this small Perl script to limit columns size to ~900.

use Text::Wrap;
$Text::Wrap::columns = 900;

$t.=$_ while (<>);

print wrap("","",$t);

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-18 11:53:44 -03:00

283 lines
17 KiB
XML