aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/doc/head.hlp
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/system/doc/head.hlp
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/system/doc/head.hlp')
-rw-r--r--pkg/system/doc/head.hlp39
1 files changed, 39 insertions, 0 deletions
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