Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Command-line utility to grep UnicodeData.txt

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 README.mkdn
README.mkdn

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

Something went wrong with that request. Please try again.