Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 5243F9F931B for ; Wed, 6 Dec 2006 01:43:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 79340-08 for ; Wed, 6 Dec 2006 01:43:15 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 6687D9FA372 for ; Wed, 6 Dec 2006 01:25:30 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kB65PR5n018480; Wed, 6 Dec 2006 00:25:27 -0500 (EST) To: Bruce Momjian cc: Simon Riggs , pgsql-docs@postgresql.org Subject: Re: psql man page error? In-reply-to: <200612060429.kB64Tfa16970@momjian.us> References: <200612060429.kB64Tfa16970@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Tue, 05 Dec 2006 23:29:41 -0500" Date: Wed, 06 Dec 2006 00:25:26 -0500 Message-ID: <18479.1165382726@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/13 X-Sequence-Number: 3936 Bruce Momjian writes: > Well, it is even worse because some versions of echo automatically > interpret backslashes, so it would have to be \\x. I am thinking we > should just leave it as I have it now, unless we want to use 'awk' or > 'perl' where we know the backslash behavior. The example as you have it now is directly contradictory to the published spec. I agree with Simon's suggestion to remove "-e" from the example (thereby making it spec-compliant) and add a parenthetical remark suggesting that standards-challenged versions of echo might need "-e". regards, tom lane