ขณะนี้ฉันกำลังเขียนเชลล์สคริปต์ตัวที่สามของฉันและฉันพบปัญหา นี่คือสคริปต์ของฉัน:
#!/bin/bash
echo "choose one of the following options : \
  1) display all current users \
  2) list all files \
  3) show calendar \
  4) exit script"
while read  
do  
 case in  
        1) who;;  
        2) ls -a;;  
        3) cal;;  
        4) exit;;  
 esac    
doneเมื่อฉันพยายามเรียกใช้สคริปต์ข้อความนี้จะบอกว่า:
line2 : unexpected EOF while looking for matching '"'  
line14 : syntax error: unexpected end of file.    ผมทำอะไรผิดหรือเปล่า?