PACKAGE | |STAT Data Manipulation and Analysis, by Gary Perlman |
---|---|
NAME | linex - line extraction |
SYNOPSIS | linex [-ns] line-numbers |
DESCRIPTION | linex extracts the named lines from the standard input and prints them to the standard output. Line numbers begin with 1. Ranges of line numbers can be abbreviated with arguments of the form #-# (e.g., 12- 24). Line ranges can be in reverse order (e.g., 5-1 to reverse the first five lines). |
OPTIONS |
The following standard help options are supported. The program exits after displaying the help.
|
EXAMPLES |
linex 1 2 3 4 # lines 1 through 4 linex 1-4 # an abbreviation of the above linex 4-1 # lines 4-1 in reverse order linex -s 500-1000 # lines 500 to 1000, if they are there |
LIMITS | There is a limit on the maximum number of lines you can print; probably 1000. Use the -L option to determine the program limits. |
SEE ALSO |
colex for column extraction.
dm for more sophisticated line or colum extraction. |
UPDATED | December 2, 1986 |