App::Uni - Command-line utility to grep UnicodeData.txt
$ uni smiling face 263A ☺ WHITE SMILING FACE 263B ☻ BLACK SMILING FACE $ uni ☺ 263A ☺ WHITE SMILING FACE # Only on Perl 5.14+ $ uni wry 1F63C 😼 CAT FACE WITH WRY SMILE
This module installs a simple program, uni, that helps grepping through the Unicode database included in the current Perl 5 installation.
The arguments to the uni program are joined with space and interpreted as a regular expression. Character codes or names matching the regex (case-insensitively) are then printed out.
If the argument is a single non-ASCII character, then the character itself is printed instead.
If you'd like to search for Emojis in Unicode 6.0, please upgrade to Perl 5.14! See http://www.perlbrew.pl for one possible way to build a local Perl 5.14.
This is a re-implementation of a same-named program Larry copied to me, which accompanied me for years. However, that program was lost during a hard disk failure, so I coded it up from memory.
Thank-you, Larry, for everything. ♡
CC0 1.0 Universal
To the extent possible under law, 唐鳳 has waived all copyright and related or neighboring rights to App-Uni.
This work is published from Taiwan.