home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5767 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  40 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!woody@gergu2.tamu.edu!woody
  3. From: woody@gergu2.tamu.edu (Woody Lee)
  4. Subject: Thought perl would be good for this task, but need help.
  5. Message-ID: <1992Sep8.164628.18148@tamsun.tamu.edu>
  6. Sender: woody@woody@gergu2.tamu.edu (Woody Lee)
  7. Reply-To: woody@gergu2.tamu.edu
  8. Organization: Texas A&M University -- GERG
  9. Date: Tue, 8 Sep 1992 16:46:28 GMT
  10. Lines: 28
  11.  
  12.  
  13. I have a bunch of files with headers that have blank Lat and Lon
  14. fields.  I also have a file with the necessary lines.  I want to read
  15. the lines progressively out of the lat lon file and replace the blank
  16. lines in the headers.
  17.  
  18.  
  19.  
  20.  
  21. OK.  Here's part of the header as it exists now:
  22.  
  23. * Sea-Bird SBE 9 Raw Data File:
  24. * FileName = D:92A001.DAT
  25. * Software Version 4.003
  26. * Temperature SN = 031273
  27. * Conductivity SN = 040987
  28. * Number of Bytes Per Scan = 24
  29. * System UpLoad Time = May 1, 1992  4:47:02 pm
  30. * Ship:      GYRE
  31. * Cruise:    92A
  32. * Station:   001
  33. * Latitude:  
  34. * Longitude: 
  35. # nquan = 28
  36. # nvalues = 495                         
  37. # units = metric
  38. # name 0 = scan: scan number
  39. # name 1 = pr: pressure, decibars
  40.