Re: psql man page error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-docs(at)postgresql(dot)org
Subject: Re: psql man page error?
Date: 2006-12-06 05:25:26
Message-ID: 18479.1165382726@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Bruce Momjian <bruce(at)momjian(dot)us> 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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Josh Berkus 2006-12-06 05:41:45 More missing docs (aggs)
Previous Message Bruce Momjian 2006-12-06 04:29:41 Re: psql man page error?