Sample Header Ad - 728x90

Set alignment of numeric columns when columnating data

6 votes
3 answers
7245 views
I use column -t to format data for easy viewing in the shell, but there seems to be no option to specify column alignment (e.g. align to the right). Any Bash one-liners to do it? I have arbitrary number of columns.
Asked by Alex B (4598 rep)
Dec 12, 2011, 03:45 AM
Last activity: Jan 1, 2025, 11:12 AM