The sed -e '$d' is nice but it has a downside - it will mask the return code
from psql in the case when there is an error
--
View this message in context: http://postgresql.nabble.com/How-would-I-get-rid-of-trailing-blank-line-tp2153908p5873931.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.