MAN page from RedHat Other textutils-1.22-1.1.i386.rpm
EXPAND
Section: User Commands (1)
Updated: GNU Text Utilities
Index NAME
expand - convert tabs to spaces
SYNOPSIS
expand[-tab1[,tab2[,...]]] [-t tab1[,tab2[,...]]] [-i][--tabs=tab1[,tab2[,...]]] [--initial] [--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 ofexpand.expandwrites the contents of each given file, or the standard input if noneare given or when a file named `-' is given, to the standard output,with tab characters converted to the appropriate number of spaces. Bydefault,expandconverts all tabs to spaces. It preserves backspace characters in theoutput; they decrement the column count for tab calculations. Thedefault action is equivalent to -8 (set tabs every 8 columns).
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 replace any tabsbeyond the tabstops given with single spaces. If the tabstops arespecified with the-tor--tabsoption, they can be separated by blanks as well as by commas.
- -i, --initial
- Only convert initial tabs (those that precede all non space or tabcharacters) on each line to spaces.
- --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.