When you see the output of Linux under the column crooked, is not looking very uncomfortable? The column command makes it easy to solve this problem.
Like what:
We generally only use the above one usage.
The other uses of column are as follows:
| Options |
Meaning |
| -C Character Count |
Specify the column width to display |
| -S " delimiter " |
Specify delimiter when using the-t option (allows specifying multiple separators ) |
| -T |
Determine the number of columns in the input row to create a table . The delimiter is used with the character specified in-S. If no delimiter is specified, the default is a space |
| -X |
Change the sort order (left → right). The default order is (top → bottom)
|
Reference:
http://code.csdn.net/news/2819566
Http://www.atmarkit.co.jp/flinux/rensai/linuxtips/552text2col.html
Mans column
[Gadget] Linux the following formatting Tools-column