.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH NL 1 2020年三月 "GNU coreutils 8.32" 用戶命令 .SH 名稱 nl \- 給文件編行號 .SH 概述 \fBnl\fP [\fI\,選項\/\fP]... [\fI\,文件列表\/\fP]... .SH 描述 .\" Add any additional description here .PP 將文件列表中的每一個文件輸出到標準輸出,並添加行號。 .PP 如果沒有指定文件,或者指定文件爲"\-",則從標準輸入讀取。 .PP 必選參數對長短選項同時適用。 .TP \fB\-b\fP, \fB\-\-body\-numbering\fP=\fI\,風格\/\fP use STYLE for numbering body lines .TP \fB\-d\fP, \fB\-\-section\-delimiter\fP=\fI\,CC\/\fP use CC for logical page delimiters .TP \fB\-f\fP, \fB\-\-footer\-numbering\fP=\fI\,風格\/\fP use STYLE for numbering footer lines .TP \fB\-h\fP, \fB\-\-header\-numbering\fP=\fI\,風格\/\fP use STYLE for numbering header lines .TP \fB\-i\fP, \fB\-\-line\-increment\fP=\fI\,數字\/\fP line number increment at each line .TP \fB\-l\fP, \fB\-\-join\-blank\-lines\fP=\fI\,數字\/\fP group of NUMBER empty lines counted as one .TP \fB\-n\fP, \fB\-\-number\-format\fP=\fI\,格式\/\fP 根據指定格式字符串插入行號 .TP \fB\-p\fP, \fB\-\-no\-renumber\fP do not reset line numbers for each section .TP \fB\-s\fP, \fB\-\-number\-separator\fP=\fI\,字符串\/\fP 如果可能的話,將指定字符串添加到行號後 .TP \fB\-v\fP, \fB\-\-starting\-line\-number\fP=\fI\,數字\/\fP first line number for each section .TP \fB\-w\fP, \fB\-\-number\-width\fP=\fI\,數字\/\fP 爲行號留出指定列的寬度 .TP \fB\-\-help\fP 顯示此幫助信息並退出 .TP \fB\-\-version\fP 顯示版本信息並退出 .PP Default options are: \fB\-bt\fP \fB\-d\fP'\e:' \fB\-fn\fP \fB\-hn\fP \fB\-i1\fP \fB\-l1\fP \fB\-n\fP'rn' \fB\-s\fP \fB\-v1\fP \fB\-w6\fP .PP CC are two delimiter characters used to construct logical page delimiters; a missing second character implies ':'. .PP STYLE is one of: .TP a 對所有行進行編號 .TP t 只對非空行進行編號 .TP n 不進行編號 .TP pBRE number only lines that contain a match for the basic regular expression, BRE .PP 格式字符串可以是下列字符串中的一個: .TP ln 左對齊,沒有前導數字0 .TP rn 右對齊,沒有前導數字0 .TP rz 右對齊,用前導數字0填充空白位 .SH 作者 由 Scott Bartram 和 David MacKenzie 編寫。 .SH 報告錯誤 GNU coreutils 的在線幫助: .br 請向 報告翻譯錯誤。 .SH 版權 Copyright \(co 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH 參見 完整文檔請見: .br 或者在本地使用: info \(aq(coreutils) nl invocation\(aq .SH "跋" .br 本頁面中文版由中文 man 手冊頁計劃提供。 .br 中文 man 手冊頁計劃:\fBhttps://github.com/man-pages-zh/manpages-zh\fR