Thread: Run time input

Run time input

From
"Ashish Karalkar"
Date:
Hello All,
I am trying to take runtime user input to the SQl script
 

\echo -n 'Enter value: '

\set x `read x && echo $REPLY`

Can anybody tell me what exactly the `read x && echo $REPLY` is doing.

and how can i access that X variable

like if i Want to display it like \echo X

 

With Regards

Ashish Karalkar