Created
July 4, 2014 12:35
-
-
Save nkrumm/5a879e6a58717f048855 to your computer and use it in GitHub Desktop.
Pretty Printing CSV and TSV functions
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
| function csv() { cat "$@" | column -t -s, | less -S; } | |
| function tsv() { cat "$@" | column -t -s"\t" | less -S; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment