Skip to content

Binary to quick lookup symbols by their names. #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mudasobwa
Copy link

This is just a handy utility to lookup symbols from the command line using the power of unicode_utils.

E. g.:

$ uc_grep --help
Usage: uc_grep [options] NAME
    -o, --out TYPE                   Output style (full, symbol); default: full
    -s, --suggest                    Suggest results for misspelled words using hunspell; default: false
    -h, --help                       Show this message

$ uc_grep suit
========================================
Trying suit…
⇒  [#<U+2660 "♠" BLACK SPADE SUIT utf8:e2,99,a0>]
⇒  [#<U+2661 "♡" WHITE HEART SUIT utf8:e2,99,a1>]
⇒  [#<U+2662 "♢" WHITE DIAMOND SUIT utf8:e2,99,a2>]
⇒  [#<U+2663 "♣" BLACK CLUB SUIT utf8:e2,99,a3>]
⇒  [#<U+2664 "♤" WHITE SPADE SUIT utf8:e2,99,a4>]
⇒  [#<U+2665 "♥" BLACK HEART SUIT utf8:e2,99,a5>]
⇒  [#<U+2666 "♦" BLACK DIAMOND SUIT utf8:e2,99,a6>]
⇒  [#<U+2667 "♧" WHITE CLUB SUIT utf8:e2,99,a7>]
⇒  [#<U+329C "㊜" CIRCLED IDEOGRAPH SUITABLE utf8:e3,8a,9c>]

$ uc_grep -o symbol suit
========================================
Trying suit…
 ♠  ♡  ♢  ♣  ♤  ♥  ♦  ♧  ㊜ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant