From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- pkg/system/doc/head.hlp | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkg/system/doc/head.hlp (limited to 'pkg/system/doc/head.hlp') diff --git a/pkg/system/doc/head.hlp b/pkg/system/doc/head.hlp new file mode 100644 index 00000000..0b2f6393 --- /dev/null +++ b/pkg/system/doc/head.hlp @@ -0,0 +1,39 @@ +.help head Nov84 system +.ih +NAME +head -- print the first few lines of the specified files +.ih +USAGE +head files +.ih +PARAMETERS +.ls files +The list of files to be dealt with, quite possibly given as +a template, such a "image*". +.le +.ls nlines = 12 +The number of lines to be printed. +.le +.ih +DESCRIPTION +\fIHead\fR prints, on the standard output, the first \fInlines\fR of each +file that matches the given file list. If the file list has more than one +name in it, a short header precedes each listing. +.ih +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 \fIset\fR environment definitions. + + cl> set | head +.ih +SEE ALSO +tail, page +.endhelp -- cgit