$' ': command not found in Cygwin

这是因为windows下的回车符改为Unix下的回车符,用以下命令可以批量修改。

dos2unix ./*
原文地址:https://www.cnblogs.com/loongfee/p/3501386.html