ksh – read: no quer...
 

ksh – read: no query process


9fa02807da30edc179da9f0e7df6d075?s=80&d=wavatar&r=g
Posts: 77
Admin
Topic starter
(@mjv119gmail-com)
Member
Joined: 8 years ago

I started to write a shell script in ksh (korn shell) on SunOS version.
I added the below line to prompt and get user input.

read -p "Enter the option:" input_variable

But while executing I am getting the below error and script failed. I already used this type of read command Linux but not working in SunOS. Please provide how to run this read command in SunOS?

./script.ksh[16]: read: no query process

Thanks in advance.

Reply

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: