Scroll to navigation

fold(1) General Commands Manual fold(1)

NAME

fold - Writes each file (or standard input if no files are given) to standard output whilst breaking long lines

SYNOPSIS

fold [-b|--bytes] [-s|--spaces] [-w|--width] [-h|--help] [-V|--version] [file]

DESCRIPTION

Writes each file (or standard input if no files are given) to standard output whilst breaking long lines

OPTIONS

count using bytes rather than columns (meaning control characters such as newline are not treated specially)
break lines at word boundaries rather than a hard cut-off
set WIDTH as the maximum line width rather than 80
Print help
Print version

VERSION

v0.0.26

fold 0.0.26