Options (2)
-a, --allbooleanConvert all blanks, instead of just initial blanks
Example:
unexpand {{[-a|--all]}} {{path/to/file}}-t, --tabsbooleanHave tabs a certain number of characters apart, not 8 (enables -a)
Example:
unexpand {{[-t|--tabs]}} {{number}} {{path/to/file}}Examples (5)
Convert blanks in each file to tabs, writing to `stdout`
unexpand path/to/fileConvert blanks to tabs, reading from `stdout`
Convert all blanks, instead of just initial blanks
unexpand [-a|--all] path/to/fileConvert only leading sequences of blanks (overrides -a)
unexpand --first-only path/to/fileHave tabs a certain number of characters apart, not 8 (enables -a)
unexpand [-t|--tabs] number path/to/filemade by @shridhargupta | data from tldr-pages