uni
uni copied to clipboard
clear whitespace at start of args
" search euro" verus "search euro" gives differernt results.
Basically just need to remove white space from start of args. Simple one, but makes things a little less error prone. Wonder if fuzzing would have picked this up ? anyways
$ uni search euro
Usage: uni [command] [flags]
uni queries the unicode database. https://github.com/arp242/uni
Flags:
-f, -format Output format.
-a, -as How to print the results: list (default), json, or table.
-c, -compact More compact output.
-r, -raw Don't use graphical variants or add combining characters.
-p, -pager Output to $PAGER.
-o, -or Use "or" when searching instead of "and".
Commands:
list List blocks, categories, or properties.
identify Identify all the characters in the given strings.
search Search description for any of the words.
print Print characters by codepoint, category, or block.
emoji Search emojis.
Use "uni help" or "uni -h" for a more detailed help.
$ uni search euro
CPoint Dec UTF8 HTML Name (Cat)
'โ ' U+20A0 8352 e2 82 a0 ₠ EURO-CURRENCY SIGN (Currency_Symbol)
'โฌ' U+20AC 8364 e2 82 ac € EURO SIGN (Currency_Symbol)
'๐กท' U+10877 67703 f0 90 a1 b7 𐡷 PALMYRENE LEFT-POINTING FLEURON (Other_Symbol)
'๐กธ' U+10878 67704 f0 90 a1 b8 𐡸 PALMYRENE RIGHT-POINTING FLEURON (Other_Symbol)
'๐ซฑ' U+10AF1 68337 f0 90 ab b1 𐫱 MANICHAEAN PUNCTUATION FLEURON (Other_Punctuation)
'๐' U+1F30D 127757 f0 9f 8c 8d 🌍 EARTH GLOBE EUROPE-AFRICA (Other_Symbol)
'๐ค' U+1F3E4 127972 f0 9f 8f a4 🏤 EUROPEAN POST OFFICE (Other_Symbol)
'๐ฐ' U+1F3F0 127984 f0 9f 8f b0 🏰 EUROPEAN CASTLE (Other_Symbol)
'๐ถ' U+1F4B6 128182 f0 9f 92 b6 💶 BANKNOTE WITH EURO SIGN (Other_Symbol)
I don't see this behaviour:
[~]% uni search euro
CPoint Dec UTF8 HTML Name (Cat)
'โ ' U+20A0 8352 e2 82 a0 ₠ EURO-CURRENCY SIGN (Currency_Symbol)
'โฌ' U+20AC 8364 e2 82 ac € EURO SIGN (Currency_Symbol)
'๐กท' U+10877 67703 f0 90 a1 b7 𐡷 PALMYRENE LEFT-POINTING FLEURON (Other_Symbol)
'๐กธ' U+10878 67704 f0 90 a1 b8 𐡸 PALMYRENE RIGHT-POINTING FLEURON (Other_Symbol)
'๐ซฑ' U+10AF1 68337 f0 90 ab b1 𐫱 MANICHAEAN PUNCTUATION FLEURON (Other_Punctuation)
'๐' U+1F30D 127757 f0 9f 8c 8d 🌍 EARTH GLOBE EUROPE-AFRICA (Other_Symbol)
'๐ค' U+1F3E4 127972 f0 9f 8f a4 🏤 EUROPEAN POST OFFICE (Other_Symbol)
'๐ฐ' U+1F3F0 127984 f0 9f 8f b0 🏰 EUROPEAN CASTLE (Other_Symbol)
'๐ถ' U+1F4B6 128182 f0 9f 92 b6 💶 BANKNOTE WITH EURO SIGN (Other_Symbol)
[~]% uni search euro
CPoint Dec UTF8 HTML Name (Cat)
'โ ' U+20A0 8352 e2 82 a0 ₠ EURO-CURRENCY SIGN (Currency_Symbol)
'โฌ' U+20AC 8364 e2 82 ac € EURO SIGN (Currency_Symbol)
'๐กท' U+10877 67703 f0 90 a1 b7 𐡷 PALMYRENE LEFT-POINTING FLEURON (Other_Symbol)
'๐กธ' U+10878 67704 f0 90 a1 b8 𐡸 PALMYRENE RIGHT-POINTING FLEURON (Other_Symbol)
'๐ซฑ' U+10AF1 68337 f0 90 ab b1 𐫱 MANICHAEAN PUNCTUATION FLEURON (Other_Punctuation)
'๐' U+1F30D 127757 f0 9f 8c 8d 🌍 EARTH GLOBE EUROPE-AFRICA (Other_Symbol)
'๐ค' U+1F3E4 127972 f0 9f 8f a4 🏤 EUROPEAN POST OFFICE (Other_Symbol)
'๐ฐ' U+1F3F0 127984 f0 9f 8f b0 🏰 EUROPEAN CASTLE (Other_Symbol)
'๐ถ' U+1F4B6 128182 f0 9f 92 b6 💶 BANKNOTE WITH EURO SIGN (Other_Symbol)
Which version are you using?
Closing this for the time being due to lack of feedback.