1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: unexpand
Command Library


unexpand - convert spaces to tabs  


unexpand [OPTION]... [FILE]...  


Convert spaces in each FILE to tabs, 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.

-a, --all
convert all whitespace, instead of initial whitespace
-t, --tabs=NUMBER
have tabs NUMBER characters apart instead of 8
-t, --tabs=LIST
use comma separated list of explicit tab positions
display this help and exit
output version information and exit


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

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

  1. About.com
  2. Tech
  3. Linux

©2015 About.com. All rights reserved.