EXPAND(1) General Commands Manual EXPAND(1)

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

expand [OPTION]... [FILE]...

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

do not convert tabs after non blanks
have tabs N characters apart, not 8 or use comma separated list of explicit tab positions
interpret input file as 8-bit ASCII rather than UTF-8
Print help
Print version

v(uutils coreutils) 0.11.0

2026-09-01