Created
May 25, 2026 20:44
-
-
Save copyleftdev/1facf6146327ddec59b681c9a1dc79c0 to your computer and use it in GitHub Desktop.
column — format delimited text into aligned tables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # column — align delimited input into a readable table | |
| # TSV file: | |
| column -t -s $'\t' models.tsv | |
| # CSV: | |
| column -t -s ',' data.csv | |
| # Colon-separated: | |
| column -t -s ':' /etc/passwd | |
| # Key:value pairs from a command: | |
| some-tool --status | column -t -s ':' | |
| # Wrap a long list into screen-width columns (like ls): | |
| cat capabilities.txt | column | |
| # Live table view with watch: | |
| watch -n2 'column -t -s $'"'"'\t'"'"' models.tsv' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment