Skip to content

Instantly share code, notes, and snippets.

@copyleftdev
Created May 25, 2026 20:44
Show Gist options
  • Select an option

  • Save copyleftdev/1facf6146327ddec59b681c9a1dc79c0 to your computer and use it in GitHub Desktop.

Select an option

Save copyleftdev/1facf6146327ddec59b681c9a1dc79c0 to your computer and use it in GitHub Desktop.
column — format delimited text into aligned tables
# 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