IRAF help page for package system, program head

from NOAO head -- print the first few lines of the specified filesUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

head -- print the first few lines of the specified files


USAGE

head files


PARAMETERS

files

The list of files to be dealt with, quite possibly given as a template, such a "image*".

nlines = 12

The number of lines to be printed.


DESCRIPTION

Head prints, on the standard output, the first nlines of each file that matches the given file list. If the file list has more than one name in it, a short header preceeds each listing.


EXAMPLES

1. Print the first 12 lines of each help file in the current directory.

cl> head *.hlp

2. Print the first line of each help file.

cl> head *.hlp nl=1

3. Print the most recently defined set environment definitions.

cl> set | head


SEE ALSO

tail, page,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu