Bash 什么是;“未找到”;你是说一个.sh脚本?

Bash 什么是;“未找到”;你是说一个.sh脚本?,bash,ubuntu,sh,Bash,Ubuntu,Sh,我正试图在我的Ubuntu系统(WSL)上运行一个名为autogen.sh的脚本,它以 #!/bin/sh set -xe type autoreconf > /dev/null || exit 1 type pkg-config > /dev/null || exit 1 您可以通过运行git clone获得完整的脚本https://github.com/universal-ctags/ctags.git 它给了我 mark@surface-19:~/ctags$ ./au

我正试图在我的Ubuntu系统(WSL)上运行一个名为
autogen.sh
的脚本,它以

#!/bin/sh

set -xe

type autoreconf > /dev/null || exit 1
type pkg-config > /dev/null || exit 1

您可以通过运行git clone获得完整的脚本https://github.com/universal-ctags/ctags.git

它给了我

mark@surface-19:~/ctags$ ./autogen.sh 
: not foundh: 2: ./autogen.sh: 
./autogen.sh: 3: set: Illegal option -
我很难理解错误消息“not foundh”。这似乎是一个打字错误的“未找到”,但究竟是什么是没有被发现