Contents
Expand (Unix)
** **** is a program that converts tab characters into groups of space characters, while maintaining correct **alignment. It is available in Unix operating systems and many Unix-like operating systems. The command is available as a separate package for Microsoft Windows as part of the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities.
Example
For example: Here the command prints a string of text that includes a tab character, then the output is directed into the command. The resulting output is then displayed in hexadecimal and as characters by the dump command. At the second prompt, the same output is sent directly to the command. As can be seen by comparing the two, the program converts the tab (specified as '\t' to the program) into spaces.
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.