1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.012.
2 .TH NL "1" "August 1999" "GNU textutils 2.0" FSF
4 nl \- number lines of files
7 [\fIOPTION\fR]... [\fIFILE\fR]...
10 .\" Add any additional description here
12 Write each FILE to standard output, with line numbers added.
13 With no FILE, or when FILE is -, read standard input.
15 \fB\-b\fR, \fB\-\-body\-numbering\fR=\fISTYLE\fR
16 use STYLE for numbering body lines
18 \fB\-d\fR, \fB\-\-section\-delimiter\fR=\fICC\fR
19 use CC for separating logical pages
21 \fB\-f\fR, \fB\-\-footer\-numbering\fR=\fISTYLE\fR
22 use STYLE for numbering footer lines
24 \fB\-h\fR, \fB\-\-header\-numbering\fR=\fISTYLE\fR
25 use STYLE for numbering header lines
27 \fB\-i\fR, \fB\-\-page\-increment\fR=\fINUMBER\fR
28 line number increment at each line
30 \fB\-l\fR, \fB\-\-join\-blank\-lines\fR=\fINUMBER\fR
31 group of NUMBER empty lines counted as one
33 \fB\-n\fR, \fB\-\-number\-format\fR=\fIFORMAT\fR
34 insert line numbers according to FORMAT
36 \fB\-p\fR, \fB\-\-no\-renumber\fR
37 do not reset line numbers at logical pages
39 \fB\-s\fR, \fB\-\-number\-separator\fR=\fISTRING\fR
40 add STRING after (possible) line number
42 \fB\-v\fR, \fB\-\-first\-page\fR=\fINUMBER\fR
43 first line number on each logical page
45 \fB\-w\fR, \fB\-\-number\-width\fR=\fINUMBER\fR
46 use NUMBER columns for line numbers
49 display this help and exit
52 output version information and exit
54 By default, selects \fB\-v1\fR \fB\-i1\fR \fB\-l1\fR \fB\-sTAB\fR \fB\-w6\fR \fB\-nrn\fR \fB\-hn\fR \fB\-bt\fR \fB\-fn\fR. CC are
55 two delimiter characters for separating logical pages, a missing
56 second character implies :. Type \\ for \. STYLE is one of:
62 number only nonempty lines
68 number only lines that contain a match for REGEXP
73 left justified, no leading zeros
76 right justified, no leading zeros
79 right justified, leading zeros
81 Report bugs to <bug-textutils@gnu.org>.
83 The full documentation for
85 is maintained as a Texinfo manual. If the
89 programs are properly installed at your site, the command
93 should give you access to the complete manual.
95 Copyright \(co 1999 Free Software Foundation, Inc.
97 This is free software; see the source for copying conditions. There is NO
98 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.