Created
March 11, 2015 20:26
-
-
Save rastermanden/94c4a663176c41248f3e to your computer and use it in GitHub Desktop.
termial alias to convert psql output to markdown tables
This file contains 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
alias psql2markdown=" sed 's/+/|/g' | sed 's/^/|/' | sed 's/$/|/' | grep -v rows | grep -v '||'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment