MAN page from Old RedHat 5.X textutils-1.22-5.i386.rpm
UNEXPAND
Section: User Commands (1)
Updated: GNU Text Utilities
Index NAME
unexpand - convert spaces to tabs
SYNOPSIS
unexpand[-tab1[,tab2[,...]]] [-t tab1[,tab2[,...]]] [-a][--tabs=tab1[,tab2[,...]]] [--all] [--help] [--version] [file...]
DESCRIPTION
This documentation is no longer being maintained and may be inaccurateor incomplete. The Texinfo documentation is now the authoritative source.
This manual pagedocuments the GNU version ofunexpand.unexpandwrites the contents of each given file, or the standard input ifnone are given or when a file named `-' is given, to the standardoutput, with strings of two or more space or tab characters convertedto as many tabs as possible followed by as many spaces as are needed.By default,unexpandconverts only initial spaces and tabs (those that precede all nonspace or tab characters) on each line. It preservesbackspace characters in the output; they decrement the column countfor tab calculations. By default, tabs are set at every 8th column.
OPTIONS
- -, -t, --tabs tab1[,tab2[,...]]
- If only one tab stop is given, set the tabs tab1 spaces apartinstead of the default 8. Otherwise, set the tabs at columnstab1, tab2, etc. (numbered from 0) and leave spaces andtabs beyond the tabstops given unchanged. If the tabstops arespecified with the-tor--tabsoption, they can be separated by blanks as well as by commas.This option implies the-aoption.
- -a, --all
- Convert all strings of two or more spaces or tabs, not just initialones, to tabs.
- --help
- Print a usage message and exit with a status code indicating success.
- --version
- Print version information on standard output then exit.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
This document was created byman2html,using the manual pages.