TAB2SPACE(1) General Commands Manual TAB2SPACE(1)NAME
tab2space - Utility to expand tabs and ensure consistent line endings
SYNOPSIS
tab2space [options] [infile [outfile]] ...
DESCRIPTION
tab2space expands tab characters into a specific number of spaces. It also normalizes line endings into a single format.
OPTIONS -help or -h display this help message
-dos or -crlf set line ends to CRLF (PC-DOS/Windows - default)
-mac or -cr set line ends to CR (classic Mac OS)
-unix or -lf set line ends to LF (Unix / Mac OS X)
-tabs preserve tabs, e.g. for Makefile
-t<n> set tabs to <n> (default is 4) spaces
SEE ALSO
HTML Tidy Project Page at http://tidy.sourceforge.net
AUTHOR
Dave Raggett <dsr@w3.org>
February 6, 2003 TAB2SPACE(1)
Check Out this Related Man Page
EXPAND(1) User Commands EXPAND(1)NAME
expand - convert tabs to spaces
SYNOPSIS
expand [OPTION]... [FILE]...
DESCRIPTION
Convert tabs in each FILE to spaces, writing to standard output.
With no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short options too.
-i, --initial
do not convert tabs after non blanks
-t, --tabs=N
have tabs N characters apart, not 8
-t, --tabs=LIST
use comma separated list of tab positions The last specified position can be prefixed with '/' to specify a tab size to use after
the last explicitly specified tab stop. Also a prefix of '+' can be used to align remaining tab stops relative to the last speci-
fied tab stop instead of the first column
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie.
REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report expand translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO unexpand(1)
Full documentation at: <http://www.gnu.org/software/coreutils/expand>
or available locally via: info '(coreutils) expand invocation'
GNU coreutils 8.28 January 2018 EXPAND(1)