1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH NL "1" "March 2007" "GNU coreutils 6.9" "User Commands"
4 nl \- number lines of files
7 [\fIOPTION\fR]... [\fIFILE\fR]...
9 .\" Add any additional description here
11 Write each FILE to standard output, with line numbers added.
12 With no FILE, or when FILE is \-, read standard input.
14 Mandatory arguments to long options are mandatory for short options too.
16 \fB\-b\fR, \fB\-\-body\-numbering\fR=\fISTYLE\fR
17 use STYLE for numbering body lines
19 \fB\-d\fR, \fB\-\-section\-delimiter\fR=\fICC\fR
20 use CC for separating logical pages
22 \fB\-f\fR, \fB\-\-footer\-numbering\fR=\fISTYLE\fR
23 use STYLE for numbering footer lines
25 \fB\-h\fR, \fB\-\-header\-numbering\fR=\fISTYLE\fR
26 use STYLE for numbering header lines
28 \fB\-i\fR, \fB\-\-page\-increment\fR=\fINUMBER\fR
29 line number increment at each line
31 \fB\-l\fR, \fB\-\-join\-blank\-lines\fR=\fINUMBER\fR
32 group of NUMBER empty lines counted as one
34 \fB\-n\fR, \fB\-\-number\-format\fR=\fIFORMAT\fR
35 insert line numbers according to FORMAT
37 \fB\-p\fR, \fB\-\-no\-renumber\fR
38 do not reset line numbers at logical pages
40 \fB\-s\fR, \fB\-\-number\-separator\fR=\fISTRING\fR
41 add STRING after (possible) line number
43 \fB\-v\fR, \fB\-\-first\-page\fR=\fINUMBER\fR
44 first line number on each logical page
46 \fB\-w\fR, \fB\-\-number\-width\fR=\fINUMBER\fR
47 use NUMBER columns for line numbers
50 display this help and exit
53 output version information and exit
55 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
56 two delimiter characters for separating logical pages, a missing
57 second character implies :. Type \e\e for \e. STYLE is one of:
63 number only nonempty lines
69 number only lines that contain a match for the basic regular
75 left justified, no leading zeros
78 right justified, no leading zeros
81 right justified, leading zeros
83 Written by Scott Bartram and David MacKenzie.
85 Report bugs to <bug\-coreutils@gnu.org>.
87 Copyright \(co 2007 Free Software Foundation, Inc.
89 This is free software. You may redistribute copies of it under the terms of
90 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
91 There is NO WARRANTY, to the extent permitted by law.
93 The full documentation for
95 is maintained as a Texinfo manual. If the
99 programs are properly installed at your site, the command
103 should give you access to the complete manual.