X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/1d743a55b5335cd7aaa5f9a8f2c782e7a46564b7..8ed454fdd94aae38d04fcd96cab15ef3b86b9cc5:/unicode.plp diff --git a/unicode.plp b/unicode.plp index fb5ee03..f506fb5 100644 --- a/unicode.plp +++ b/unicode.plp @@ -28,19 +28,14 @@ i^k or i^vu respectively in Vim. use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; -sub print_glyph_tables { - while (@_) { - printf '

%s

'."\n\n", shift; - while (ref $_[0] and $_ = shift) { - print $glyphs->table($_); - } - print '
'; - } +if (exists $get{q}) { + $glyphs->{unicode}--; + $glyphs->{digraph}--; } our $verbose = exists $get{v}; -print_glyph_tables( +$glyphs->print( 'Popular', [qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚ . ‟ ‛}], [qw{. † ‡ • . § ¶ # . © ® ™ . ° ′ ″ . − × ÷ . ± ² √}],