1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH NL "1" "April 2010" "GNU coreutils 8.5" "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\-\-line\-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\-\-starting\-line\-number\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 nl bugs to bug\-coreutils@gnu.org
87 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
89 General help using GNU software: <http://www.gnu.org/gethelp/>
91 Report nl translation bugs to <http://translationproject.org/team/>
93 Copyright \(co 2010 Free Software Foundation, Inc.
94 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
96 This is free software: you are free to change and redistribute it.
97 There is NO WARRANTY, to the extent permitted by law.
99 The full documentation for
101 is maintained as a Texinfo manual. If the
105 programs are properly installed at your site, the command
107 .B info coreutils \(aqnl invocation\(aq
109 should give you access to the complete manual.