From owner-freebsd-newbies Wed Dec 16 13:10:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12229 for freebsd-newbies-outgoing; Wed, 16 Dec 1998 13:10:34 -0800 (PST) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from online.no (pilt-s.online.no [148.122.208.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12224 for ; Wed, 16 Dec 1998 13:10:32 -0800 (PST) (envelope-from havardjv@gudmund.vgs.no) Received: from gealach.myst.no (ti21a23-0075.dialup.online.no [130.67.196.75]) by online.no (8.9.1/8.9.1) with ESMTP id WAA27700; Wed, 16 Dec 1998 22:10:19 +0100 (MET) Received: from localhost (hjv@localhost) by gealach.myst.no (8.8.7/8.8.7) with SMTP id RAA00178; Wed, 16 Dec 1998 17:48:58 +0100 (CET) (envelope-from havardjv@gudmund.vgs.no) X-Authentication-Warning: gealach.myst.no: hjv owned process doing -bs Date: Wed, 16 Dec 1998 17:48:58 +0100 (CET) From: Haavard Vaagstoel X-Sender: hjv@gealach.myst.no To: ML Duke cc: newbies@FreeBSD.ORG Subject: Re: vi & word documents In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 15 Dec 1998, ML Duke wrote: > Just had a little experience some others might be interested in. > Received a word 97 file from a client. StarOffice would no open it > in any form. Tried editing it with ee, with an eye to edit out the > garbage (a _whole lot_ of it) & print the 1.5 pages of useful data. > The file defied being edited in ee. > Enter vi. Using the "de" command=delete to end of word, the garbage > preceeding the good text vanished very quickly, then "dd" quickly > eliminated the garbage following the good text. Of course, it's possible to do it like that, but there also exist programs that will convert a Word .doc file to text. 'catdoc' is one such program, though at the moment I cannot remember if it can convert w97 files or only w95 and below. -- Haavard Vaagstoel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message