Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

tab2space (1)

Name

tab2space - Utility to expand tabs and ensure consistent line endings

Synopsis

tab2space [option ...] [[infile] [outfile]] ...

Description

tab2space(1)                         5.4.0                        tab2space(1)



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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | text/tidy        |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

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:

           https://github.com/htacg/tidy-html5/issues/

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

       Validate your HTML documents using the W3C Nu Markup Validator:

           http://validator.w3.org/nu/

AUTHOR
       Tidy  was  written by Dave Raggett <dsr@w3.org>, and subsequently main-
       tained 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.



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded  from   https://github.com/htacg/tidy-html5/ar-
       chive/5.4.0.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.html-tidy.org/.



HTML Tidy                         13 Mar 2017                     tab2space(1)