NAME
ufold —
wrap each UTF-8 input line to fit
specified width
SYNOPSIS
ufold |
-h | --help |
-V | --full-version |
-v | --version |
ufold |
[-s | --spaces]
[-w width |
--width=width]
[file] |
DESCRIPTION
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.
-h,--help- Print usage information.
-s,--spaces- Don't break words in the middle of a word.
-V,--full-version- Print full version (like
-v), followed by copyright notice. -v,--version- Print program version and commit date.
-wwidth,--width=width- Set output width in glyphs.
EXIT STATUS
The ufold utility exits 0 on
success, and >0 if an error occurs.
SEE ALSO
AUTHORS
Strahinya Radich <sr@strahinja.org>, 2021-2025
BUGS
Bugs can be reported using the ticket tracker at: https://todo.sr.ht/~strahinja/text-tools