1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
11 .\" GNU unexpand man page
12 .\" man pages are NOT obsolete!
13 .\" <ragnar@ragnar-hojland.com>
14 .TH UNEXPAND 1 "7 October 2002" "GNU textutils 2.1"
16 \fBunexpand\fR \- convert spaces to tabs
20 .RB [ \-\fITAB1\fR[\fB,\fITAB2... ]
21 .RB [ "\-t \fITAB1\fR[\fB,\fITAB2..." ]
23 .RB [ \-\-first\-only ]
24 .RB [ \-\-tabs=\fITAB1\fR[\fB,\fITAB2... ]
27 .BR unexpand " [" \-\-help "] [" \-\-version ]
32 to standard output, replacing strings of two or more spaces or tab
33 characters with as many tabs as possible followed by as many spaces as are
36 is omitted or if it is a
38 standard input is used for reading.
41 .B \-\fITAB1\fR[\fB,\fITAB2...\fR]\fB, \-t \fITAB1\fR[\fB,\fITAB2...\fR]\fB, \-\-tabs=\fITAB1\fR[\fB,\fITAB2...\fR]
42 If only one tab stop is given, set the tabs \fITAB1\fR spaces apart
43 (default is 8). Otherwise, set the tabs at columns \fITAB1\fR, \fITAB2\fR,
44 \fI...\fR (numbered from 0), and replace any tabs beyond the last
45 tabstop given with single spaces. If the tabstops are specified
46 with the \fB\-\-tabs\fR option, they can be separated by blanks as well as
47 by commas. Short option form \fB\-\fR is deprecated.
50 Convert all strings of two or more spaces or tabs, not just initial
54 Perform only one replacement and exit.
57 Print a usage message on standard output and exit successfully.
60 Print version information on standard output then exit successfully.
62 Report bugs to bug-textutils@gnu.org.
64 Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>