-l, --join-blank-lines
Group of NUMBER empty lines counted as one (default 1).
An option of nlx.
Usage
nlx -l NUMBER [FILE]...
nlx --join-blank-lines=NUMBER [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-l | --join-blank-lines | NUMBER | group of NUMBER empty lines counted as one (default 1) |
Examples
Collapse runs of empty lines so only every second one gets a number
nlx -b a -l 2 poem.txtHelp in the terminal
gnux help nlx --join-blank-lines