nl(1)
π nl(1) β the manual page for nl π
bestie, it's the nl(1) page, straight out of the General Commands Manual β and yeah it's giving "numbering lines" but make it β¨aestheticβ¨. Sit down, grab a strawberry π, we're doing this.
β¨ NAME β¨
nl β Number lines of files π«Ά
πΈ SYNOPSIS πΈ
nl [--help] [-b|--body-numbering] [-d|--section-delimiter]
[-f|--footer-numbering] [-h|--header-numbering] [-i|--line-increment]
[-l|--join-blank-lines] [-n|--number-format] [-p|--no-renumber]
[-s|--number-separator] [-v|--starting-line-number] [-w|--number-width]
[-V|--version] [file]
π DESCRIPTION π
Number lines of files. That's it, that's the whole vibe. You give it files, it hands them back with numbers on the lines. Iconic behavior, no notes. π
π OPTIONS π
--helpβ Print help information. (the classic "bestie I'm lost" button)-b,--body-numbering <STYLE>β use STYLE for numbering body lines-d,--section-delimiter <CC>β use CC for separating logical pages-f,--footer-numbering <STYLE>β use STYLE for numbering footer lines-h,--header-numbering <STYLE>β use STYLE for numbering header lines-i,--line-increment <NUMBER>β line number increment at each line-l,--join-blank-lines <NUMBER>β group of NUMBER empty lines counted as one-n,--number-format <FORMAT>β insert line numbers according to FORMAT
Possible values:
lnrnrz
-p,--no-renumberβ do not reset line numbers at logical pages-s,--number-separator <STRING>β add STRING after (possible) line number-v,--starting-line-number <NUMBER>β first line number on each logical page-w,--number-width <NUMBER>β use NUMBER columns for line numbers-V,--versionβ Print version
π¦ EXTRA π¦
STYLE is one of:
anumber all linestnumber only nonempty linesnnumber no linespBREnumber only lines that contain a match for the basic regular expression,BRE
FORMAT is one of:
lnleft justified, no leading zerosrnright justified, no leading zerosrzright justified, leading zeros
π VERSION π
v(uutils coreutils) 0.7.0
ok so that's the whole page, bestie, you ate that π no cap, every single flag is right there waiting for you.
And that's a wrap on nl (uutils coreutils) 0.7.0 β mwah, go number some lines, you main character π§β¨π
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms