OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / original / man1 / nl.1
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"
3 .SH NAME
4 nl \- number lines of files
5 .SH SYNOPSIS
6 .B nl
7 [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Write each FILE to standard output, with line numbers added.
12 .PP
13 With no FILE, or when FILE is \-, read standard input.
14 .PP
15 Mandatory arguments to long options are mandatory for short options too.
16 .TP
17 \fB\-b\fR, \fB\-\-body\-numbering\fR=\fI\,STYLE\/\fR
18 use STYLE for numbering body lines
19 .TP
20 \fB\-d\fR, \fB\-\-section\-delimiter\fR=\fI\,CC\/\fR
21 use CC for separating logical pages
22 .TP
23 \fB\-f\fR, \fB\-\-footer\-numbering\fR=\fI\,STYLE\/\fR
24 use STYLE for numbering footer lines
25 .TP
26 \fB\-h\fR, \fB\-\-header\-numbering\fR=\fI\,STYLE\/\fR
27 use STYLE for numbering header lines
28 .TP
29 \fB\-i\fR, \fB\-\-line\-increment\fR=\fI\,NUMBER\/\fR
30 line number increment at each line
31 .TP
32 \fB\-l\fR, \fB\-\-join\-blank\-lines\fR=\fI\,NUMBER\/\fR
33 group of NUMBER empty lines counted as one
34 .TP
35 \fB\-n\fR, \fB\-\-number\-format\fR=\fI\,FORMAT\/\fR
36 insert line numbers according to FORMAT
37 .TP
38 \fB\-p\fR, \fB\-\-no\-renumber\fR
39 do not reset line numbers at logical pages
40 .TP
41 \fB\-s\fR, \fB\-\-number\-separator\fR=\fI\,STRING\/\fR
42 add STRING after (possible) line number
43 .TP
44 \fB\-v\fR, \fB\-\-starting\-line\-number\fR=\fI\,NUMBER\/\fR
45 first line number on each logical page
46 .TP
47 \fB\-w\fR, \fB\-\-number\-width\fR=\fI\,NUMBER\/\fR
48 use NUMBER columns for line numbers
49 .TP
50 \fB\-\-help\fR
51 display this help and exit
52 .TP
53 \fB\-\-version\fR
54 output version information and exit
55 .PP
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:
59 .TP
60 a
61 number all lines
62 .TP
63 t
64 number only nonempty lines
65 .TP
66 n
67 number no lines
68 .TP
69 pBRE
70 number only lines that contain a match for the basic regular
71 expression, BRE
72 .PP
73 FORMAT is one of:
74 .TP
75 ln
76 left justified, no leading zeros
77 .TP
78 rn
79 right justified, no leading zeros
80 .TP
81 rz
82 right justified, leading zeros
83 .SH AUTHOR
84 Written by Scott Bartram and David MacKenzie.
85 .SH "REPORTING BUGS"
86 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
87 .br
88 Report nl translation bugs to <http://translationproject.org/team/>
89 .SH COPYRIGHT
90 Copyright \(co 2016 Free Software Foundation, Inc.
91 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
92 .br
93 This is free software: you are free to change and redistribute it.
94 There is NO WARRANTY, to the extent permitted by law.
95 .SH "SEE ALSO"
96 Full documentation at: <http://www.gnu.org/software/coreutils/nl>
97 .br
98 or available locally via: info \(aq(coreutils) nl invocation\(aq