2005-05-02 15:01:42 +02:00
|
|
|
.TH UNEXPAND 1
|
|
|
|
.SH NAME
|
|
|
|
unexpand \- convert spaces to tabs
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBunexpand\fR [\fB\-a\fR]\fR
|
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH OPTIONS
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 5
|
|
|
|
.B \-a
|
|
|
|
# All spaces are unexpanded
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH EXAMPLES
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 20
|
|
|
|
.B unexpand oldfile >newfile
|
|
|
|
# Convert leading spaces to tabs
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
\fIUnexpand\fR replaces spaces in the named files with tabs.
|
|
|
|
If no files are listed, \fIstdin\fR is given.
|
|
|
|
The \fB\-a\fR flag is used to force all sequences of spaces to be
|
|
|
|
expanded, instead of just leading spaces (the default).
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR expand (1).
|