Name
unexpand
Synopsis
unexpand [options] [files]
Description
Convert strings of initial whitespace, consisting of at least two spaces and/or tabs to tabs. Read from standard input if given no file or a file named -.
Options
- -a, --all
Convert all, not just initial, strings of spaces and tabs.
- - nums, -t nums, --tabs nums
nums is a comma-separated list of integers that specify the placement of tab stops. If a single integer is provided, the tab stops are set to every integer spaces. By default, tab stops are 8 spaces apart. With -t and --tabs, the list may be separated by whitespace instead of commas. This option implies -a.
- --help
Print help message and then exit.
- --version
Print the version number and then exit.
Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.