  1.  NAME

  scan_hdr - Retrieve the header from log files

  2.  SYNOPSIS

  [hdr, hdrs, hdrn] = scan_hdr(flog)

  3.  DESCRIPTION

  This Matlab function scans a log file and returns its header
  information. The header synthax must follow the one used by
  applications like scan_nbr(1) or scan_nav(1).

  4.  PARAMETERS

     flog
        File descriptor of log file. The file must be positionned at the
        beginning.

  5.  RETURNS

     hdr
        String containing complete column description.

     hdrs
        Array of column names.

     hdrn
        Array of column numbers.

  6.  AUTHORS

  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999

