#914823 Add --exact-match

Package:
unicode
Source:
unicode
Submitter:
積丹尼 Dan Jacobson
Date:
2021-02-02 15:33:05 UTC
Severity:
wishlist
#914823#5
Date:
2018-11-27 18:12:23 UTC
From:
To:
Please add --exact-match.

So one could do
$ unicode --exact-match 'EURO SIGN'
and get just
U+20AC EURO SIGN
UTF-8: e2 82 ac UTF-16BE: 20ac Decimal: € Octal: \020254
€
Category: Sc (Symbol, Currency)
Unicode block: 20A0..20CF; Currency Symbols
Bidi: ET (European Number Terminator)

Yes, one can also use just use
$ unicode U+20AC

No, --max 1 will not help as it gets the wrong one in this case.

#914823#8
Date:
2021-02-02 15:31:32 UTC
From:
To:
Dan Jacobson <jidanni@jidanni.org>, 2018-11-28, 02:12:

Ugly work-around (exploiting undocumented implementation details):

   $ unicode ';EURO SIGN;'
   U+20AC EURO SIGN
   ...