How could I break a line using \n
in read -p
?
For example
read -p "Please Enter the percent [30 between 100]\n The value is Default = 80 :" scale_percent
I want \n
to break a line but it doesn't work.
In echo
I use -e
and it breaks a line.
So I tried
read -ep
to break the line but it didn't break the line. How can I do that?
And could you also please give me a good manual for read -p
on the Internet because I couldn't find a nice one without a confusing description.