Re: How would I get rid of trailing blank line? - Mailing list pgsql-sql

From david.paulo
Subject Re: How would I get rid of trailing blank line?
Date
Msg-id 1447553839377-5873931.post@n5.nabble.com
Whole thread Raw
In response to How would I get rid of trailing blank line?  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List 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.



pgsql-sql by date:

Previous
From: ranjitsaurav
Date:
Subject: Exception Handling in Postgis function
Next
From: Michael Moore
Date:
Subject: Need more info on PL/pgSQL compile listing