expand man page

expand — convert tabs to spaces

TL;DR

expand {{file}}

expand

expand -i {{file}}

expand -t={{number}} {{file}}

expand -t={{list}}

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=NUMBER
have tabs NUMBER characters apart, not 8
-t, --tabs=LIST
use comma separated list of explicit tab positions
--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/>

See Also

unexpand(1)

Full documentation at: <http://www.gnu.org/software/coreutils/e…>
or available locally via: info '(coreutils) expand invocation'

Referenced By

col(1), colrm(1), perlmodlib(1), unexpand(1).

November 2016 GNU coreutils 8.26 User Commands