Man page - nl(1)
Packages contains this manual
- nohup(1)
- expand(1)
- base32(1)
- stdbuf(1)
- env(1)
- chgrp(1)
- sha1sum(1)
- printenv(1)
- arch(1)
- whoami(1)
- sha384sum(1)
- sha224sum(1)
- nl(1)
- unlink(1)
- mv(1)
- comm(1)
- basenc(1)
- timeout(1)
- link(1)
- sync(1)
- paste(1)
- true(1)
- cut(1)
- sleep(1)
- uname(1)
- nproc(1)
- tty(1)
- seq(1)
- wc(1)
- tail(1)
- shred(1)
- split(1)
- unexpand(1)
- false(1)
- realpath(1)
- date(1)
- pr(1)
- expr(1)
- rmdir(1)
- tr(1)
- stat(1)
- numfmt(1)
- stty(1)
- sha512sum(1)
- hostid(1)
- [(1)
- ls(1)
- chcon(1)
- df(1)
- runcon(1)
- od(1)
- ln(1)
- ptx(1)
- echo(1)
- vdir(1)
- touch(1)
- chown(1)
- users(1)
- chroot(8)
- truncate(1)
- dircolors(1)
- printf(1)
- pwd(1)
- fmt(1)
- groups(1)
- sort(1)
- b2sum(1)
- cksum(1)
- join(1)
- dirname(1)
- readlink(1)
- tsort(1)
- id(1)
- mktemp(1)
- base64(1)
- csplit(1)
- sha256sum(1)
- tac(1)
- shuf(1)
- sum(1)
- fold(1)
- who(1)
- test(1)
- mkdir(1)
- mkfifo(1)
- pathchk(1)
- cat(1)
- tee(1)
- md5sum(1)
- cp(1)
- basename(1)
- rm(1)
- yes(1)
- dd(1)
- install(1)
- factor(1)
- dir(1)
- uniq(1)
- du(1)
- logname(1)
- chmod(1)
- pinky(1)
- nice(1)
- mknod(1)
- head(1)
apt-get install coreutils
Available languages:
en fr es pl nb nl da tr hu sv ja ru ro zh_TW sr zh_CN deManual
NL
名 称概 述
描 述
作 者
报 告 错 误
版 权
参 见
跋
名 称
nl - 给 文 件 编 行 号
概 述
nl [ 选 项 ]... [ 文 件 列 表 ]...
描 述
将 文 件 列 表 中 的 每 一 个 文 件 输 出 到 标 准 输 出 , 并 添 加 行 号 。
如 果 没 有 指 定 文 件 , 或 者 指 定 文 件 为 "-", 则 从 标 准 输 入 读 取 。
必
选 参 数 对 长 短
选 项 同 时 适 用
。
-b
,
--body-numbering
=
样 式
use STYLE for numbering body lines
-d , --section-delimiter = CC
use CC for logical page delimiters
-f , --footer-numbering = 样 式
use STYLE for numbering footer lines
-h , --header-numbering = 样 式
use STYLE for numbering header lines
-i , --line-increment = 数 字
line number increment at each line
-l , --join-blank-lines = 数 字
将 给 定 “数 值 ”行 连 续 的 空 行 视 为 一 行
-n , --number-format = 格 式
根 据 指 定 格 式 字 符 串 插 入 行 号
-p , --no-renumber
do not reset line numbers for each section
-s , --number-separator = 字 符 串
如 果 可 能 的 话 , 将 指 定 字 符 串 添 加 到 行 号 后
-v , --starting-line-number = 数 字
每 一 节 第 一 行 的 行 号
-w , --number-width = 数 字
为 行 号 留 出 指 定 列 的 宽 度
|
--help |
显 示 此 帮 助 信 息 并 退 出 |
--version
显 示 版 本 信 息 并 退 出
Default options are: -bt -d ’\:’ -fn -hn -i1 -l1 -n ’rn’ -s <TAB> -v1 -w6
CC are two delimiter characters used to construct logical page delimiters; a missing second character implies ’:’. As a GNU extension one can specify more than two characters, and also specifying the empty string ( -d ”) disables section matching.
所 指 定 的 “样 式 ”是 下 列 之 一 :
|
a |
对 所 有 行 进 行 编 号 |
|||
|
t |
只 对 非 空 行 进 行 编 号 |
|||
|
n |
不 进 行 编 号 |
|||
|
pBRE |
仅 对 匹 配 基 本 正 则 表 达 式 BRE 的 行 编 号 |
格 式 字 符 串 可 以 是 下 列 字 符 串 中 的 一 个 :
|
ln |
左 对 齐 , 没 有 前 导 数 字 0 |
|||
|
rn |
右 对 齐 , 没 有 前 导 数 字 0 |
|||
|
rz |
右 对 齐 , 用 前 导 数 字 0填 充 空 白 位 |
作 者
由 Scott Bartram 和 David MacKenzie 编 写 。
报 告 错 误
GNU coreutils
的 在 线 帮 助 :
<https://www.gnu.org/software/coreutils/>
请 向
<https://translationproject.org/team/zh_CN.html>
报 告 翻 译 错 误
。
版 权
Copyright ©
2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL
version 3 or later
<https://gnu.org/licenses/gpl.html>.
本 软 件 是 自 由
软 件 : 您 可 以
自 由 修 改 和 重
新 发 布 它 。 在
法 律 允 许 的 范
围 内 , 不 提 供
任 何 保 证 。
参 见
完
整 文 档 请 见 :
<https://www.gnu.org/software/coreutils/nl>
或 者 在 本 地 使
用 : info '(coreutils) nl invocation'
跋
本
页 面 中 文 版 由
中 文 man 手 册 页 计
划 提 供 。
中 文 man 手 册 页 计
划 :
https://github.com/man-pages-zh/manpages-zh