X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e1497cc49fa909c193ec5b165fc7445305be09b5..7c01a97313cb7a300b69c4e6939ece041be1a1ae:/digraphs.plp?ds=sidebyside diff --git a/digraphs.plp b/digraphs.plp index ab04efd..81944b2 100644 --- a/digraphs.plp +++ b/digraphs.plp @@ -21,6 +21,9 @@ $header{content_type} = 'text/html; charset=utf-8';
i^k in Vim. +Also see common digraphs.
+ <: my $di = do 'digraphs.inc.pl'; @@ -38,19 +41,20 @@ my @chars = ( ['A'..'M'], ['N'..'Z'], ['a'..'m'], ['n'..'z'], ); -my @chars2 = (@chars, ['_']); # trailing character (extended set) +my @chars2 = (['_'], @chars); # trailing character (extended set) print '"; - print " | $_" for map {@$_} @chars2; + print ' | ', quote($_) for map {@$_} @chars2; + print " | \n"; } for my $c1group (@chars) { print ' |
---|---|---|---|
$c1"; + print ' | |||
', quote($c1); for my $c2 (map {@$_} @chars2) { my $mnem = $c1 . $c2; if (not defined $di->{$mnem}) { @@ -74,7 +78,7 @@ for my $c1group (@chars) { printf "\n".' | %s', join(' ', @class), quote($desc), $glyph; } - print "\n | $c1\n"; + print "\n | ", quote($c1), "\n"; } } print " |