logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Format Text - Fold Long Lines | Online Free DevTools by Hexmos

Format text with the fold command to wrap long lines for fixed-width output. Control line breaks and adjust width easily. Free online tool, no registration required.

fold

Folds long lines for fixed-width output devices. More information: https://www.gnu.org/software/coreutils/manual/html_node/fold-invocation.html.

  • Fold lines in a fixed width:

fold {{[-w|--width]}} {{width}} {{path/to/file}}

  • Count width in bytes (the default is to count in columns):

fold {{[-b|--bytes]}} {{[-w|--width]}} {{width_in_bytes}} {{path/to/file}}

  • Break the line after the rightmost blank within the width limit:

fold {{[-s|--spaces]}} {{[-w|--width]}} {{width}} {{path/to/file}}

See Also