OS Manuals

/usr/bin/expand

Cross-platform Rust rewrite of the GNU coreutils.

From uutils 0.12.0-r6 (os), captured 2026-11-07 by running expand --help (exit 0). permalink

Convert tabs in each FILE to spaces, writing to standard output.
With no FILE, or when FILE is -, read standard input.

Usage: expand [OPTION]... [FILE]...

Options:
  -i, --initial         do not convert tabs after non blanks
  -t, --tabs <N, LIST>  have tabs N characters apart, not 8 or use comma separated list of explicit
                        tab positions
  -U, --no-utf8         interpret input file as 8-bit ASCII rather than UTF-8
  -h, --help            Print help
  -V, --version         Print version
Options (5)
OptionDescriptionSource
-i, --initialdo not convert tabs after non blankshelp + man
-t, --tabs Nhave tabs N characters apart, not 8 or use comma separated list of explicit tab positionshelp + man
-U, --no-utf8interpret input file as 8-bit ASCII rather than UTF-8help + man
-h, --helpPrint helphelp + man
-V, --versionPrint versionhelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.