rust-fold(1)

rust-fold1

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

Usage

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

Overview

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

Options

-b, --bytes

count using bytes rather than columns (meaning control characters such as newline are not treated specially)

-s, --spaces

break lines at word boundaries rather than a hard cut-off

-w, --width=WIDTH

set WIDTH as the maximum line width rather than 80

-h, --help

Print help

-V, --version

Print version

Version

v0.0.30

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

-V since Debian 13 (Trixie); -h since Debian 13 (Trixie).

From rust-coreutils 0.0.30-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.