Hi guys,
i have a script called readnametest.i had written like this
# !/bin/ksh
echo "enter your name please"
read x;
echo " your name is $x"
i am getting an error like "readnametest.ksh[3]: ^M: not found." while executing this one.Could any one please explain me on why this error is coming.am i writing the read command syntax in a proper way or not?
i am new to the unix scripting.