lethargic_man: (blue!)
[personal profile] lethargic_man
[michael@epicyclic ~]$ hebrew_grep שלום hebrew
./hebrew/iso8859-8: שלום-שלום
./hebrew/utf-8: שָׁלוֹם־שָׁלוֹם
./hebrew/windows-1255: שָׁלוֹם־שָׁלוֹם
./hebrew/utf-8.sans-nikkud: שלום
[michael@epicyclic ~]$ 
(Except that it actually reverses the output so it looks correct on gnome-terminal, which does not handle bidirectional text.)

Now I finally have a grep utility that can search for Hebrew text regardless of whether the files it's searching are encoded in UTF-8, Windows-1255 or ISO-8859-8; whether the text is logically ordered (UTF-8 Windows-1255) or visually (ISO-8859-8); whether nikkud (vowel points) are included or not; and whether ׳ ,״ and ־ are correctly encoded, or approximated by ASCII ", ' and -.

(And all that on a (still) empty stomach.)

Why didn't I do this years ago?

Date: 2008-08-15 07:36 am (UTC)
From: (Anonymous)
The internet is badly in need of a Hebrew-English translator ..

-d

Date: 2008-08-15 07:49 am (UTC)
From: [identity profile] lethargic-man.livejournal.com
If you build it, they will come.

Profile

lethargic_man: (Default)
Lethargic Man (anag.)

November 2025

S M T W T F S
      1
2345678
9 101112131415
16171819202122
23 24 2526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Wednesday, February 4th, 2026 07:31 pm
Powered by Dreamwidth Studios