The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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