Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 2A39F9F9F46 for ; Wed, 6 Dec 2006 11:25:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 61532-01 for ; Wed, 6 Dec 2006 11:25:36 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from wolff.to (wolff.to [66.93.197.194]) by postgresql.org (Postfix) with SMTP id 1EB749F93E5 for ; Wed, 6 Dec 2006 11:25:41 -0400 (AST) Received: (qmail 12587 invoked by uid 500); 6 Dec 2006 15:26:46 -0000 Date: Wed, 6 Dec 2006 09:26:46 -0600 From: Bruno Wolff III To: Bruce Momjian Cc: Tom Lane , Simon Riggs , pgsql-docs@postgresql.org Subject: Re: psql man page error? Message-ID: <20061206152646.GA12499@wolff.to> Mail-Followup-To: Bruno Wolff III , Bruce Momjian , Tom Lane , Simon Riggs , pgsql-docs@postgresql.org References: <18479.1165382726@sss.pgh.pa.us> <200612061414.kB6EE1522072@momjian.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612061414.kB6EE1522072@momjian.us> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/20 X-Sequence-Number: 3943 On Wed, Dec 06, 2006 at 09:14:01 -0500, Bruce Momjian wrote: > > Well, I just tried Linux and FreeBSD bash (the default shell?) and they > both need '-e' to render '\n' as a newline, so I think we should just > leave it with '-e'. Following the spec doesn't help if our two major > operating systems don't follow the spec, plus the example doesn't work > on Win32 at all. If you need several lines of output, couldn't you use one echo for each line and separate them with semicolons?