Mauro Carvalho Chehab eba9e91c48 doc-rst: linux_tv: Fix some occurences of :sub:
The right way to use it seems to do suscript is to use
this pattern: "\ :sub:"

Make sure all places of the media document will fit, by
using this script:

$n=0;
while (<>) {
	$n++;
	$t = $_;
	@matches = $t =~ m/(..\:sub\:)/g;
	foreach my $m (@matches) {
		$m =~ m/(.)(.)(\:sub\:)/;
		$s1=$1;
		$s2=$2;
		$s3=$3;
		next if (($s1 eq "\\") && ($s2 eq " "));
		if ($s2 eq " ") {
			$t =~ s/$s1$s2$s3/$s1\\$s2$s3/;
			next;
		}
		$t =~ s/$s1$s2$s3/$s1$s2\\ $s3/;
	}
	print $t;
}

And running it with:

for i in $(git grep -l sub Documentation/linux_tv/); do ./sub.pl $i >a && mv a $i; done

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-04 10:02:02 -03:00
..
2016-05-19 17:07:04 -07:00
2016-02-06 15:33:11 +08:00
2016-01-25 12:01:08 -02:00
2016-04-27 10:23:44 +02:00
2016-06-03 13:31:37 -06:00
2015-06-08 23:15:45 +02:00
2016-05-08 11:27:44 +02:00
2015-11-30 12:14:12 +00:00
2016-05-11 22:37:54 +02:00
2016-06-30 13:07:33 -06:00
2015-02-27 11:44:24 -08:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2014-12-08 09:07:11 -05:00
2016-05-17 14:48:04 +02:00
2016-04-28 08:02:36 -06:00