line - a program to display a specific line of a file with optional context
line [ -[num] ] num [ file ]
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.
Steven Pritchard <steve@silug.org>
perl(1),
grep(1),
head(1),
tail(1)
If you have any question about how this program works, read the source. It
is shorter than this documentation.