NAME

line - a program to display a specific line of a file with optional context


SYNOPSIS

line [ -[num] ] num [ file ]


DESCRIPTION

This program is a simple perl(1) script that will display a specific line of a file, with a switch to provide context in much the same fashion as grep(1). The first (optional) argument is the number of lines of context. The second option is the line number. The third (optional) option is the file name. If a file name is not supplied or is ``-'', STDIN is read.


AUTHOR

Steven Pritchard <steve@silug.org>


SEE ALSO

perl(1), grep(1), head(1), tail(1)


NOTES

If you have any question about how this program works, read the source. It is shorter than this documentation.