L(I)				03/14/75				 L(I)

NAME
	l - list a file on the standard output or act as a filter.

SYNOPSIS
	l [-n] [-f#] [-l#] [-p#] file...

DESCRIPTION
	This program lists either files or the standard input a page at a
	time.  After a page has been listed, press the <RETURN> key to see
	the next page, etc.  To stop listing and process the next file just
	press the <DEL> key and to terminate the program press just press
	the <CTRL-FS> key.

	Options:

	-n      Turns on a line number option.  A line number will
		precede each line of text.

	-f#	The first line to be listed.  The (#) is a series of
		digits and any non-digits are ignored.  Of course the
		default is one.  There is no need of a last line option
		since the <DEL> key will terminate the listing.

	-p#	Sets the page size.  Again the (#) is a series of
		digits.  If the value is zero then there is no paging.
		and the listing is continuous.	The default is 35.

	-l#	Does exactly the same thing as a (-p) option.

	If no input file is specified, then the standard input is assumed.
	Therefore, l is usable as a filter.  In any case, the control
	teletype for both input and output will be that of file descriptor
	number two.  However the text will come from zero for standard
	input will the questions will be asked on descriptor two.

	If more than one file is to be listed, then l will print the
	file name and wait for a <RETURN> before doing so.  Of course
	<DEL> may be pressed which will cause l to attempt the next file.
	This facility may be used to verify which programs are sources
	in a directory.  For example, "l *" will list all files of a
	particular directory.

SEE ALSO
	cat(I), pr(I), lnum(I), re(I)

DIAGNOSTICS
	mostly self-explanatory

AUTHORS
	original by: Keith H Davis
	modified by: J J Gillogly to use buffered output
	modified by: J S Zucker for use as a filter
	modified by: Keith H Davis for general enhancement
	modified by: J J Gillogly for virtual terminal unix
