Reference

rust-unexpand(1)

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

NAME

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

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

-a, --all

convert all blanks, instead of just initial blanks

--first-only

convert only leading sequences of blanks (overrides -a)

-t, --tabs=N, LIST

use comma separated LIST of tab positions or have tabs N characters apart instead of 8 (enables -a)

-U, --no-utf8

interpret input file as 8-bit ASCII rather than UTF-8

-h, --help

Print help

-V, --version

Print version

VERSION

v0.0.30

History

--no-utf8 since Debian 13 (Trixie); -U since Debian 13 (Trixie); -V since Debian 13 (Trixie); -h since Debian 13 (Trixie).

--tabs until Debian 12 (Bookworm); -t until Debian 12 (Bookworm).