Erika Mannheim wrote:
"D.Wolpert" wrote:
Erika Mannheim wrote: >
(...)
Lösung: /home/erika/bin/antiword /tmp/MO3C8479B600501EA.doc >/tmp/<wasauchimmer>.doc xless /tmp/<wasauchimmer>.doc ... und print button druecken ...
Irgendwas stimmt noch nicht. Ich habe das Kommando einmal versucht: erika@spiro:~ > /home/erika/bin/antiword /tmp/MO3C8479B600501EA.doc
/tmp/wasauchimmer.doc /usr/X11R6/bin/xless /tmp/wasauchimmer.doc
...erhalte aber nur: Get Filesize error 2 I can't get the size of '/tmp/MO3C8479B600501EA.doc' /usr/X11R6/bin/xless is not a Word Document. /tmp/wasauchimmer.doc is not a Word Document.
Das Ganze sind zwei Befehle: Erst antiword aufrufen und das Ergebnis in /tmp/<schlagmichtot>.doc umleiten Dann xless /tmp/<schlagmichtot>.doc aufrufen. Immer diese Zeilenumbrechenden Mail-Clients :-) CU Werner -- Love your enemies: they'll go crazy trying to figure out what you're up to.