Skip to Content
gnux

-s, --squeeze-blank

Suppress repeated empty output lines.

An option of catx.

Usage

catx -s [FILE]...
catx --squeeze-blank [FILE]...

Details

ShortLongValueDefaultMeaning
-s--squeeze-blanknonesuppress repeated empty output lines

Examples

Squeeze runs of blank lines into one, then number the result

catx -sn draft.txt

Help in the terminal

gnux help catx --squeeze-blank

On this page