Skip to Content
gnux

-n, --number-lines

Number lines, use DIGITS (5) digits, then `SEP` (TAB); written -n[SEP[DIGITS]].

An option of prx.

Usage

prx -n DIGITS [FILE]...
prx --number-lines=DIGITS [FILE]...

Details

ShortLongValueDefaultMeaning
-n--number-linesDIGITSnumber lines, use DIGITS (5) digits, then SEP (TAB); written -n[SEP[DIGITS]]

Examples

Number the lines of a script, with a custom title

prx -n -h 'deploy script' deploy.sh

Help in the terminal

gnux help prx --number-lines

On this page