DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T t

⟦39fde2dad⟧ TextFile

    Length: 1437 (0x59d)
    Types: TextFile
    Names: »tabs.1«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/tabs/tabs.1« 

TextFile

.TH TABS 1 LOCAL
.SH NAME
tabs \- canonicalize spaces and tabs
.SH SYNOPSIS
tabs
[
.BI \-i NN
] [
.BI \-o NN
] [
.B \-t
] <input >output
.SH DESCRIPTION
This program can be used to:
.RS
.nf
convert from one tab size to another
optimize spacing/tabbing to a minimum number of characters
replace tabs with spaces
replace spaces with tabs
delete trailing spaces/tabs on lines
.fi
.RE
.PP
It is designed to be used as a filter, reading standard input and writing
to standard output.
.PP
.I Tabs
accepts the following options:
.IP "\-iNN"
Tabs on the input file are set every NN (default eight) spaces.
If NN is 0 or omitted, input tabs are not treated as special characters;
this is probably only useful with the options ``-o0 and -t''.
.IP "\-oNN"
Tabs on the output file are set every NN (default eight) spaces.
If NN is 0 or omitted, tabs are not used in the output file.
.IP "\-t"
Suppress trailing spaces/tabs from output lines.
.PP
Options may be specified separately or together.  Spaces are not allowed
between the i or o option and the number following.
This program will always eliminate redundant spacing.  If this is all
that is desired, set the input and output tab size identically.
.SH "EXAMPLES"
	tabs -i8 -o8 <infile >outfile
.br
Optimize out extra spaces, normal tab stops.
.PP
	tabs -i4t <infile >outfile
.br
Convert from Microware's silly four-character tabs to normal
eight-character tabs and eliminate trailing spaces.