.TH Head V37 "1 March 1993" "Head version 37.7" .SH FORMAT .B HEAD [[\fBFROM\fR] (\fIfile\fR|\fIpattern\fR)...] [\fBTO\fR \fIfile\fR] [\fBNUM\fR|\fBNUMBER\fR \fIn\fR] .SH TEMPLATE .B FROM/M,TO/K,NUM=NUMBER/N/K .SH PURPOSE To display first few lines of specified files. .SH SPECIFICATION .B HEAD copies the first .B NUMBER lines of each .B FROM file to the default output or the .B TO file if one is given. If no .B FROM files are given, .B HEAD copies lines from the default input. The default number of lines is 10. .PP When more than one file is specified, the start of each file looks like: .PP ==>filename<== .PP .SH EXAMPLE A way to display a set of short files, identifying each one, is: .PP 1> HEAD filename1 filename2 NUMBER 9999 .SH "SEE ALSO" .BR CONCAT (V37), .BR TYPE (AmigaDOS) .SH "UNIX EQUIVALENT" .BR head (1) .SH AUTHOR Torsten Poulin (torsten@diku.dk) .SH UNRESTRICTIONS .B HEAD is free; anyone may redistribute copies of .B HEAD to anyone under the terms stated in the GNU General Public Licence, a copy of which accompanies each copy of .BR HEAD . .PP Torsten Poulin encourages you to improve and extend .BR HEAD , and urges that you contribute your extensions to the world.