Skip to Content
gnux

-s, --spaces

Break at spaces.

An option of foldx.

Usage

foldx -s [FILE]...
foldx --spaces [FILE]...

Details

ShortLongValueDefaultMeaning
-s--spacesnonebreak at spaces

Examples

Wrap a commit message body at 72 columns without breaking words

foldx -s -w 72 essay.txt

Save a wrapped copy of a draft for an email client that does not wrap

foldx -s -w 72 draft.txt > wrapped.txt

Help in the terminal

gnux help foldx --spaces

On this page