Re: How would I get rid of trailing blank line?

From: "david(dot)paulo" <david(dot)paulo(at)legalfirst(dot)com(dot)au>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: How would I get rid of trailing blank line?
Date: 2015-11-15 02:17:19
Message-ID: 1447553839377-5873931.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2015-11-15 06:12:45 Re: Parallel Seq Scan
Previous Message Andrew Dunstan 2015-11-15 00:27:38 Re: proposal: multiple psql option -c

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Moore 2015-11-16 23:29:56 Need more info on PL/pgSQL compile listing
Previous Message ranjitsaurav 2015-11-12 07:35:54 Exception Handling in Postgis function