agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: david.paulo <david.paulo@legalfirst.com.au>
To: pgsql-sql@postgresql.org
Subject: Re: How would I get rid of trailing blank line?
Date: Sat, 14 Nov 2015 19:17:19 -0700 (MST)
Message-ID: <1447553839377-5873931.post@n5.nabble.com> (raw)
In-Reply-To: <FE44E0D7EAD2ED4BB2165071DB8E328C04E84A65@egcrc-ex01.egcrc.org>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C04E84A65@egcrc-ex01.egcrc.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (9+ messages)

Message-ID: <1447553839377-5873931.post@n5.nabble.com>
Permalink:  ../1447553839377-5873931.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1447553839377-5873931.post@n5.nabble.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: david.paulo@legalfirst.com.au
  Subject: Re: How would I get rid of trailing blank line?
  In-Reply-To: <1447553839377-5873931.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox