NL(1) NL(1) 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 -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 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . info '(coreutils) nl invocation' man man https://github.com/man-pages-zh/manpages- zh GNU coreutils 9.1 20229 NL(1)