O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

unexpand

Synopsis

unexpand [options] [files]

Converts strings of initial whitespace, consisting of at least two spaces and/or tabs to tabs. Reads from standard input if given no file or a given file named -. See also expand .

Option

-a

Convert all, not just initial, strings of spaces and tabs.

-t tab1 , tab2 ,..., tabn

Set tab stops at tab1, tab2, etc. If only tab1 is specified, sets tab stops every tab1 spaces.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required