On 2/8/07, Peter Eisentraut <[EMAIL PROTECTED]> wrote:

You can do this already approximately so:

\echo -n 'Enter value: '
\set x `read && echo $REPLY`

Maybe one command is better, though.

Yep, in fact that is more or less something similar that I suggested on
pgsql-sql yesterday.  The only issue I had with it was it doesn't work for
Windows and non-UNIX platforms.

Reply via email to