I have a file parama.out
having 3 variables like:
p_id
P_level
p_name
And the value for these variable will be User Input at the run-time. I tried using while loop but instead of asking for the user input its moving to the next line and throwing an error.
I used the code:
cat params.out |\
while read line
do
echo "Please provide the value for $line:\c"
read $line
done