*BSD News Article 67735


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!newsfeed.internetmci.com!in2.uu.net!winternet.com!not-for-mail
From: jdege@winternet.com (Jeff Dege)
Newsgroups: comp.os.linux.development.system,comp.unix.bsd.386bsd.misc,comp.unix.bsd.bsdi.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc,comp.os.linux.advocacy
Subject: Re: reading WORD ``attachments''    (aaaarrggh!)
Followup-To: comp.os.linux.development.system,comp.unix.bsd.386bsd.misc,comp.unix.bsd.bsdi.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc,comp.os.linux.advocacy
Date: 4 May 1996 23:49:14 GMT
Organization: StarNet Communications, Inc
Lines: 20
Message-ID: <4mgqdq$h6t@blackice.winternet.com>
References: <4ki055$60l@Radon.Stanford.EDU> <4mb38b$680@solaria.cc.gatech.edu>
NNTP-Posting-Host: subzero.winternet.com
X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]
Xref: euryale.cc.adfa.oz.au comp.os.linux.development.system:23058 comp.unix.bsd.386bsd.misc:930 comp.unix.bsd.bsdi.misc:3663 comp.unix.bsd.netbsd.misc:3504 comp.unix.bsd.freebsd.misc:18747 comp.os.linux.advocacy:48068

On 04 May 1996 08:23:11 GMT, Phillip Musumeci (phillip@mirriwinni.cse.rmit.edu.au) wrote:
: 
: Here is a very low-tech filter (not a conversion tool really) to remove
: some of the weird stuff from the file before piping it into less/more.
: phillip
: 
: #include <stdio.h>
: [deleted]

    I've found that this works well enough at getting the text out of
a Word .DOC file:

cat file.doc | strings | fmt | more

    And it doesn't take as long to write.

-- 
  Friendship is born at that moment when one person says to another:
  "What!  You, too?  Thought I was the only one."
                                             -C.S. Lewis