tab2space man page for the Tidy Sourceforge project
tab2space 1 "4 Aug 2016" "HTML Tidy" "5.2.0"
NAME
tab2space - Utility to expand tabs and ensure consistent line endings

SYNOPSIS
tab2space [option ...] [[infile] [outfile]] ...
DESCRIPTION
tab2space is a command-line utility which performs tab expansion and ensures consistent and appropriate line ending termination characters. tab2space is distributed as part of the tidy(1) package.
OPTIONS

-help, -h display detailed help message

-dos, -crlf set line ends to CRLF (PC-DOS/Windows - default)

-mac, -cr set line ends to CR (classic Mac OS)

-unix, -lf set line ends to LF (Unix)

-tabs preserve tabs, e.g. for Makefile

-t<n> set tabs to <n> (default is 4) spaces

USAGE

Use --help or -h for detailed configuration options.

Input/Output default to stdin/stdout respectively.

"EXIT STATUS"
0
All input files were processed successfully.
1
There were warnings.
2
There were errors.
SEE ALSO
For more information about HTML Tidy:

http://www.html-tidy.org/

For more information on HTML:

HTML: Edition for Web Authors (the latest HTML specification)

http://dev.w3.org/html5/spec-author-view

HTML: The Markup Language (an HTML language reference)

http://dev.w3.org/html5/markup/

For bug reports and comments:

Or send questions and comments to public-htacg@w3.org.

Validate your HTML documents using the W3C Nu Markup Validator:

AUTHOR
Tidy was written by Dave Raggett <dsr@w3.org>, and subsequently maintained by a team at http://tidy.sourceforge.net/, and now maintained by HTACG (http://www.htacg.org).

The sources for HTML Tidy are available at https://github.com/htacg/tidy-html5/ under the MIT Licence.