$ echo ㄘ | bundle exec ruby show-unicode-name.rb "ㄘ" BOPOMOFO LETTER C$ cat show-unicode-name.rb #!/usr/bin/ruby## usage: ruby show-unicoce-name.rb Ʊ”−ʓ#require "unicode/name"
str = ARGV.firstunless str str = $stdin.read.chompend
str.chars.each do |c| puts "#{c.inspect}\t#{Unicode::Name.of c}"end
$ bundle exec ruby show-unicode-name.rb Ʊ”−ʓ"Ʊ" LATIN CAPITAL LETTER UPSILON"”" RIGHT DOUBLE QUOTATION MARK"−" MINUS SIGN"ʓ" LATIN SMALL LETTER EZH WITH CURL
こういう風にもつかえるようにしてあった
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.