#!/bin/csh -f
# print a one-line header summary suitable for a simple database of .fts or
# .fth files. The command line may list the files directly or be a list of
# directories to be probed. If no arguments are given, begin in the current
# directory.
#
# N.B. this relies heavily on fitslog
# 22 Jul 96  Begin
# 25 Jul 96  Allow for files and dirs

if ($#argv == 0) then
    set argv = "."
else
    if ($argv[1] == '-help') then
	echo $0:t':' "[*.fts] [*.fth] [dirs]"
	exit 1
    endif
endif

find $argv -name '*.ft[sh]' -exec fitslog {} \;

# For RCS Only -- Do Not Edit
# @(#) $RCSfile: mklog,v $ $Date: 2003/04/15 20:48:35 $ $Revision: 1.1.1.1 $ $Name:  $
