nl

Number lines of inputs like nl, runnable via moonx

nl
coreutils
text
cli
wasm
moon add bobzhang/nl@0.1.0
Download zip
Author
Version
0.1.0
License
Apache-2.0
Last updated
2 hours ago
Downloads
1

Dependencies

README

#nl for moonx

Number lines of files or stdin:

printf 'alpha\nbeta\n' | moonx bobzhang/nl moonx bobzhang/nl -b a -w 3 -s ' ' notes.txt

Options: -b a|t|n number all/nonempty/no lines (default t), -w N number width (default 6), -s SEP separator (default TAB). Unnumbered lines are indented by the number width. Numbering is continuous across multiple files.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io