Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: expand
Command Library

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 whitespace
-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
 

SEE ALSO

The full documentation for expand is maintained as a Texinfo manual. If the info and expand programs are properly installed at your site, the command
info expand

should give you access to the complete manual.


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.