Re: psql man page error? - Mailing list pgsql-docs

From Tom Lane
Subject Re: psql man page error?
Date
Msg-id 8124.1165342485@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql man page error?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: psql man page error?
Re: psql man page error?
List pgsql-docs
Bruce Momjian <bruce@momjian.us> writes:
> I think the proper fix is:

>       <application>psql</application>, like this: <literal>echo -e
>       "\\x\nSELECT * FROM foo;" | psql</literal>.

> I think all modern operating systems understand echo -e at this point.

No, they don't, and neither does the Single Unix Spec:
http://www.opengroup.org/onlinepubs/007908799/xcu/echo.html

So your version of the example depends on non-standards-compliant
echo behavior, which is not better than before.

            regards, tom lane

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: psql man page error?
Next
From: "Simon Riggs"
Date:
Subject: Re: psql man page error?