UFOLD(1) General Commands Manual UFOLD(1)

ufoldwrap each UTF-8 input line to fit specified width

ufold -h | --help | -V | --full-version | -v | --version

ufold [-s | --spaces] [-w width | --width=width] [file]

ufold wraps input lines in file, writing to standard output. It emulates the program fold(1) from the GNU coreutils, but adding support for input encoded in UTF-8.

If a special file of “-” is given, ufold will instead read from the standard input. This also happens when no filename is given.

, --help
Print usage information.
, --spaces
Don't break words in the middle of a word.
, --full-version
Print full version (like -v), followed by copyright notice.
, --version
Print program version and commit date.
width, --width=width
Set output width in glyphs.

The ufold utility exits 0 on success, and >0 if an error occurs.

fold(1)

Strahinya Radich <contact@strahinja.org>, 2021-2024

Bugs can be reported using the ticket tracker at: https://todo.sr.ht/~strahinja/text-tools

May 21, 2024 OpenBSD 7.5