为什么我这里有文件结束错误?

Med*_*rik 0 linux shell ubuntu

这是一个linux脚本shell,我在Ubuntu 13.1上运行它.line 9: syntax error: unexpected end of file当我运行脚本时,我得到了一个.这是我的脚本:

!#/bin/bash
x=$(stat --printf="%a\n" hi1.txt)
y=$(stat --printf="%a\n" hi1copy.txt)
echo "$x"
echo "$y"
if [ "$x" == "$y" ]; then
  echo "same la!"
fi
Run Code Online (Sandbox Code Playgroud)