Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- addhead

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
addhead
Synopsis
/infobank/programs/edit/addhead/addhead.for
Description
  Program to add header information to a file.

       
INPUT
  list of files to be changed.

    
OUTPUT
  script file that needs to be edited by replacing "!"

  or other strings with appropriate info.
  Then execute the script.
    
AUTHOR
  Clint Steele


    
Reads
          read (90, '(q,a)', end=99)
     *        pathlength, path(1:pathlength)
Writes
          write (91, '(a,a)') 
     *        '/bin/cat /infobank/programs/html/dictionary2html/',
     *    'format_onoff.!_EQUIPMENT_TYPE.txt > /infobank/tmp/head.te
          write (91, '(a,a,a)')
     *        '/bin/cat ',path(1:pathlength),
     *        ' >> /infobank/tmp/head
          write (91, '(a,a,/)')
     *        '/bin/cp /infobank/tmp/head.temp ',
     *        path(1:pathlength)
Opens
Calls
      call openem (1,-1)

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/edit/addhead/addhead.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:37:03 PDT 2013  (chd)