untab Command

Purpose

Changes tabs into spaces.

Syntax

untabFileName ... ]

Description

The untab command reads the file specified by the FileName parameter or standard input, and replaces tabs in the input with space characters. If you specify a file with the FileName parameter, the untab command writes the resulting file back to the original file. If the input is standard input, the untab command writes to standard output. The untab command assumes that tab stops are set every eight columns, starting with column nine. The file name specified for the FileName parameter cannot exceed PATH_MAX-9 bytes in length.

Example

To replace tab characters in the File file with space characters, enter:

untab File

Files

Item Description
/usr/bin/untab Contains the untab command.