☻ 唐鳳 ☺ > App-Uni-8 > App::Uni

Download:
App-Uni-8.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  2
Open  1
View/Report Bugs
Module Version: 8   Source  

NAME ^

App::Uni - Command-line utility to grep UnicodeData.txt

SYNOPSIS ^

    $ 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

DESCRIPTION ^

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.

NOTES ^

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.

ACKNOWLEDGEMENTS ^

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. ♡

AUTHORS ^

唐鳳 <cpan@audreyt.org>

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.

http://creativecommons.org/publicdomain/zero/1.0

syntax highlighting: