🧀 Learn Linux

Advanced·Reading and processing text

expand:Convert Tab to space

Put in free practice

Syntax

expand [-t width] [file…]

Options

-t
tab stop interval

Examples

expand -t 4 tabbed.txt

Usage and sandbox support

Expand by tab stop, default interval is 8; teaching subset is character-wide.

Hands-on exercises

Full documentation ↗

Related commands