hi,all,
I have a very simple linux shell program, but it can not run properly, can anyone tell me what wrong with the program.
Code:
#!/bin/sh
echo "Is it morning,please anser(Yes/No)"
read timeofday
echo $timeofday
The error message is "': not a valid identifiertimeofday" after I input "Yes" or "No".
Thanks