components/tidy/files/tab2space.1
author Rich Burridge <rich.burridge@oracle.com>
Wed, 10 Aug 2016 15:17:22 -0700
changeset 6603 82e0c142e47f
parent 281 d8461ade59a0
child 7855 beb81c36d5c4
permissions -rw-r--r--
23094084 Upgrade tidy to version 5.2.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     1
.\" tab2space man page for the Tidy Sourceforge project
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
     2
.TH tab2space 1 "4 Aug 2016" "HTML Tidy" "5.2.0"
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     3
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     4
.SH NAME
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     5
\fBtab2space\fR - Utility to expand tabs and ensure consistent line endings
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     6
.br
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     7
.SH SYNOPSIS
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     8
\fBtab2space\fR [option ...] [[infile] [outfile]] ...
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     9
.SH DESCRIPTION
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    10
tab2space is a command-line utility which performs tab expansion and
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    11
ensures consistent and appropriate line ending termination characters.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    12
tab2space is distributed as part of the tidy(1) package.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    13
.SH OPTIONS
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    14
.TP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    15
\fB-help\fR, \fB-h\fR
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    16
display detailed help message
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    17
.TP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    18
\fB-dos\fR, \fB-crlf\fR
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    19
set line ends to CRLF
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    20
(\fIPC-DOS/Windows - default\fR)
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    21
.TP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    22
\fB-mac\fR, \fB-cr\fR
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    23
set line ends to CR
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    24
(\fIclassic Mac OS\fR)
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    25
.TP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    26
\fB-unix\fR, \fB-lf\fR
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    27
set line ends to LF
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    28
(\fIUnix\fR)
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    29
.TP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    30
\fB-tabs\fR
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    31
preserve tabs, e.g. for Makefile
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    32
.TP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    33
\fB-t<n>\fR
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    34
set tabs to <n> (default is 4) spaces
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    35
.SH USAGE
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    36
.LP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    37
Use \fB--\fR\fIhelp\fR or \fB-\fR\fIh\fR for detailed configuration options.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    38
.LP
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    39
Input/Output default to stdin/stdout respectively.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    40
.SH "EXIT STATUS"
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    41
.IP 0
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    42
All input files were processed successfully.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    43
.IP 1
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    44
There were warnings.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    45
.IP 2
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    46
There were errors.
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    47
.SH SEE ALSO
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    48
For more information about HTML Tidy:
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    49
.RS 4
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    50
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    51
http://www.html-tidy.org/
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    52
.RE
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    53
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    54
For more information on HTML:
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    55
.RS 4
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    56
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    57
\fBHTML: Edition for Web Authors\fR (the latest HTML specification)
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    58
.br
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    59
http://dev.w3.org/html5/spec-author-view
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    60
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    61
\fBHTML: The Markup Language\fR (an HTML language reference)
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    62
.br
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    63
http://dev.w3.org/html5/markup/
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    64
.RE
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    65
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    66
For bug reports and comments:
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    67
.RS 4
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    68
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    69
https://github.com/htacg/tidy-html5/issues/
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    70
.RE
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    71
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    72
Or send questions and comments to \[email protected]\fR.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    73
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    74
Validate your HTML documents using the \fBW3C Nu Markup Validator\fR:
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    75
.RS 4
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    76
.LP
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    77
http://validator.w3.org/nu/
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    78
.RE
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    79
.SH AUTHOR
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    80
\fBTidy\fR was written by \fBDave Raggett\fR <[email protected]>, and subsequently maintained by a team at http://tidy.sourceforge.net/,
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    81
and now maintained by \fBHTACG\fR (http://www.htacg.org).
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    82
.LP
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 281
diff changeset
    83
The sources for \fBHTML Tidy\fR are available at https://github.com/htacg/tidy-html5/ under the MIT Licence.