UNEXPAND(1) General Commands Manual UNEXPAND(1)NAME
unexpand - convert spaces to tabs
SYNOPSIS
unexpand [-a]
OPTIONS -a All spaces are unexpanded
EXAMPLES
unexpand oldfile >newfile
# Convert leading spaces to tabs
DESCRIPTION
Unexpand replaces spaces in the named files with tabs. If no files are listed, stdin is given. The -a flag is used to force all sequences
of spaces to be expanded, instead of just leading spaces (the default).
SEE ALSO expand(1).
UNEXPAND(1)
Check Out this Related Man Page
UNEXPAND(1) FSF UNEXPAND(1)NAME
unexpand - convert spaces to tabs
SYNOPSIS
unexpand [OPTION]... [FILE]...
DESCRIPTION
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
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
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.
unexpand (coreutils) 4.5.3 February 2003 UNEXPAND(1)