Report issue Add example

expand

Convert tabs to spaces in a file.

Description

The expand command is used to convert tabs (TAB) in a file into spaces and display the result to standard output.

Syntax

expand [options] [parameters]

Options

-t <number>: Specify the number of spaces for each tab instead of the default 8.

Parameters

File: Specify the file to be converted.