1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH NL "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 nl \- number lines of files
7 [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
9 .\" Add any additional description here
11 Write each FILE to standard output, with line numbers added.
13 With no FILE, or when FILE is \-, read standard input.
15 Mandatory arguments to long options are mandatory for short options too.
17 \fB\-b\fR, \fB\-\-body\-numbering\fR=\fI\,STYLE\/\fR
18 use STYLE for numbering body lines
20 \fB\-d\fR, \fB\-\-section\-delimiter\fR=\fI\,CC\/\fR
21 use CC for separating logical pages
23 \fB\-f\fR, \fB\-\-footer\-numbering\fR=\fI\,STYLE\/\fR
24 use STYLE for numbering footer lines
26 \fB\-h\fR, \fB\-\-header\-numbering\fR=\fI\,STYLE\/\fR
27 use STYLE for numbering header lines
29 \fB\-i\fR, \fB\-\-line\-increment\fR=\fI\,NUMBER\/\fR
30 line number increment at each line
32 \fB\-l\fR, \fB\-\-join\-blank\-lines\fR=\fI\,NUMBER\/\fR
33 group of NUMBER empty lines counted as one
35 \fB\-n\fR, \fB\-\-number\-format\fR=\fI\,FORMAT\/\fR
36 insert line numbers according to FORMAT
38 \fB\-p\fR, \fB\-\-no\-renumber\fR
39 do not reset line numbers at logical pages
41 \fB\-s\fR, \fB\-\-number\-separator\fR=\fI\,STRING\/\fR
42 add STRING after (possible) line number
44 \fB\-v\fR, \fB\-\-starting\-line\-number\fR=\fI\,NUMBER\/\fR
45 first line number on each logical page
47 \fB\-w\fR, \fB\-\-number\-width\fR=\fI\,NUMBER\/\fR
48 use NUMBER columns for line numbers
51 display this help and exit
54 output version information and exit
56 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
57 two delimiter characters for separating logical pages, a missing
58 second character implies :. Type \e\e for \e. STYLE is one of:
64 number only nonempty lines
70 number only lines that contain a match for the basic regular
76 left justified, no leading zeros
79 right justified, no leading zeros
82 right justified, leading zeros
84 Written by Scott Bartram and David MacKenzie.
86 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
88 Report nl translation bugs to <http://translationproject.org/team/>
90 Copyright \(co 2016 Free Software Foundation, Inc.
91 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
93 This is free software: you are free to change and redistribute it.
94 There is NO WARRANTY, to the extent permitted by law.
96 Full documentation at: <http://www.gnu.org/software/coreutils/nl>
98 or available locally via: info \(aq(coreutils) nl invocation\(aq