#!/bin/csh -f
# Print the field name entry of each catalog in the argument list
if ($1 == ^) then
  caterr <<'EOF'

  Print the field name of a catalog.'
    usage: name catalog [catalog ...]'
    Arguments: catalog - catalogs to extract field names'
    Output: field names'

'EOF'
  exit
endif

foreach i ($argv)
 info $i |grep name|skip s2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
end
