unexpand(1) General Commands Manual unexpand(1)

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

unexpand [-a|--all] [-f|--first-only] [-t|--tabs] [-U|--no-utf8] [-h|--help] [-V|--version] [file]

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

convert all blanks, instead of just initial blanks
convert only leading sequences of blanks (overrides -a)
use comma separated LIST of tab positions or have tabs N characters apart instead of 8 (enables -a)
interpret input file as 8-bit ASCII rather than UTF-8
Print help
Print version

v(uutils coreutils) 0.5.0

unexpand (uutils coreutils) 0.5.0