On Mon, 16 Apr 2001, Christoph Bugel wrote:
> My local unix guru just showed me antiword.
> It is a really cool (and small and simple) utility to convert m$word files into
> nicely formatted ascii text. (also postscript). It works great for hebrew too.
But not the postscript, right?
> (I pipe the output through 'rev'. the english is reversed as well, but at least
> I can read all those hebrew attachements that I used to ignore until now, and
> also for english it is so much faster and better that starting a slow and
> annoying gui session with openoffice or koffice)
> I downloaded && installed it and it is really cool.
>
> The website is http://www.winfield.demon.nl/
> What I did was to pipe the output through |rev|more or |rev|less. for less you
> should make sure that the LESSCHARSET variable is ok. (I used latin1).
if your language settings are correct, then your charset is probably
iso-8859-8 by default , and then you don't have to set LESSCHARSET
explicitly.
See locale(7) and less(1)
> Also I
> wrote a scriptto start an xterm with -fn heb8x13, so that I can easily invoke
> it from my mail client (mutt).
In my .Xdefaults I had:
Xterm*Font:heb8x13
The downside for such a setting is that the bold font is not supplied.
> I was impressed by this useful little utility and I hope this posting will be
> useful for somebody.
My current 'wordv' script does:
antiword -m 8859-8.txt "$1" | bidiv
BTW: is there a simple way to make such a script work for standard-input?
antiword does not accept input from the standard input.
--
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]