Linux "unexpand" Command Line Options and Examples
convert spaces to tabs

Convert blanks in each FILE to tabs, writing to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too.


Usage:

unexpand [OPTION]... [FILE]...




Command Line Options:

-a
convert all blanks, instead of just initial blanks
unexpand -a ...
--first-only
convert only leading sequences of blanks (overrides -a)
unexpand --first-only ...
-t
have tabs N characters apart instead of 8 (enables -a)
unexpand -t ...
--help
display this help and exit
unexpand --help ...
--version
output version information and exitAUTHORWritten by David MacKenzie.REPORTING BUGSGNU coreutils online help: <http://www.gnu.org/software/coreutils/>Report unexpand translation bugs to <http://translationproject.org/team/>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent per‐mitted by law.
unexpand --version ...