Skip to Content
gnux

-s, --split-only

Split long lines, but do not refill.

An option of fmtx.

Usage

fmtx [-WIDTH] -s [FILE]...
fmtx [-WIDTH] --split-only [FILE]...

Details

ShortLongValueDefaultMeaning
-s--split-onlynonesplit long lines, but do not refill

Examples

Shorten overlong lines in a script or list without merging its lines

fmtx -s -w 80 script.txt

Help in the terminal

gnux help fmtx --split-only

On this page