brendano (owner)

Revisions

gist: 59943 Download_button fork
public
Public Clone URL: git://gist.github.com/59943.git
Embed All Files: show embed
Bash #
1
2
3
4
CSV from PostgreSQL, at least as far as I can tell. i'm sure messes up embedded quotes and maybe embedded commas.
 
psql.csv() { psql -qAF , "$@" | egrep -v '^\([0-9]+ rows\)$' }