[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

translating Hebrew from a Mac



hi.
i hope this will help someone sometime.  The folowing are a set of oneliners
that translate from Mac-Hebrew to iso/pc/transcribed hebrew.

I worked this out by comparing a file to it's printout, so i probably missed some chars out.

# translating from mac hebrew to iso hebrew
tr 'ݢߩ؃۞ӕٗҖ' ' "\047(),-./0123456789:;'

# translating from mac hebrew to pc hebrew
tr 'ݢߩ؃۞ӕٗҖ' ' "\047(),-./0123456789:;'

# translating from mac hebrew to transcriped hebrew.
tr 'ݢߩ؃۞ӕٗҖ' ' "\047(),-./0123456789:;KMNPZabcdefghiklmnopqrstvxz'

# translating from transcribed hebrew to iso hebrew.

tr 'abcdefghviKklMmNnxoPpZzqrst' '\340-\372'


note that the digits that are translated
(tr '' '0123456789')
may appear in push mode (reversed), but this may be a problem with
M$-word (the file I worked on was a "text" save-as form word)
			Matan <MN>