Tony, et al --

...and then Anthony Ritter said...
% 
% Greets,
% I've been able to open a remote URL, read it and then lop off everything
% except the last line and break it into an array with its' tabs - /t .

Good enough.


% 
% The data will then be inserted into a table.
% 
% However, the following URL shows reservoir storage and is a .doc file.  I am
% unable to run the same script with this URL since it is a .doc file - not a
% .txt file.

Ewwww!


% 
% The client has said that this is the only file that their office has and
% does not offer any csv or tsv .txt files.
% 
% Is there anyway to acheive formatting this data using the following file?
% 
% http://water.usgs.gov/orh/nrwww/odrm/storage2004.doc

Have you tried wvware?  It would be a temp file mess, but you could

  - get the doc file and store a temp copy
  - run wvText on it to convert to a text file
  - parse the results
  - clean up, of course

to get your last line.  The wv* utils do a quite acceptable job of
converting DOC files into other formats, and definitely don't need
a Windows server laying around.


% 
% Thank you.
% TR


HTH & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to