Home > Articles

This chapter is from the book

expand

The expand command converts tabs into spaces. Use the -t option to specify how many spaces to insert in place of each tab.

Example:

[student@localhost ~]$ cat -T sample.txt
Example:^IOne
Test:^I^ITwo
[student@localhost ~]$ expand -t 4 sample.txt
Example:    One
Test:       Two
[student@localhost ~]$ expand -t 8 sample.txt
Example:      One
Test:         Two

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.