Skip to Content.
Sympa Menu

baslinux - Re: [BL] script to extract http://'s from a doc. 5F

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] script to extract http://'s from a doc. 5F
  • Date: Sat, 3 Mar 2007 17:00:19 +0000

On Sat, Mar 03, 2007 at 04:12:49PM +1300, 3aoo-cvfd AT dea.spamcon.org wrote:
> sindi keesan wrote:
> >
> > I have antiword to produce plain text from doc files.
> > That does not extract the URLs. I will do it manually.
>
> Why not pipe the output from antiword to a URL filtering
> routine?

Yeh. Like the sed part of the script I posted, minus the "$1".

Or urlview.

After reading the other posts on this subject, I'm wondering if
the urls are not embedded in an image. If it was a _transparent_
image you might not be able to tell just by looking at the
orginal document, with whatever dreadful application one uses to
view .doc files as they are meant to be seen.

That sounds like just the sort of wasteful nonsense that is
typical of windows.

Another way of forcing people to use their OS.

I've never even _seen_ a .doc file, and am not missing a thing.

In that case, it would take an OCR (optical character
recognition) app, like clara, to convert the urls to plain text.

Here's how _I'd_ handle this: I'd dump the .doc document and mail
the person back and tell them to send a plain text version.


Lee

--
BasicLinux: Small is Beautiful
http://www.basiclinux.com.ru





Archive powered by MHonArc 2.6.24.

Top of Page