View .DOC files with strings

Stewart C. Russell scruss-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Sat Sep 6 14:44:13 UTC 2003


Peter L. Peres wrote:
> 
> <document.doc gawk '{printf("%s\n\n",$0);next;}'|groff -man -Tascii >out.txt

you can do much the same with

  strings document.doc | fmt -s

Similar caveats apply.

Stewart

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list