会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
羊37
管理
2022年1月7日
linux脚本中回车或换行command not found
摘要: 0.背景 win中写好一个shell脚本,脚本里有换行之类的,在linux上跑的时候。 偶尔会遇到这个提示: $'\r': command not found 原因: Win系统的文件换行使用的是\r\n,而Unix系统是\n。 扩展: bash是增强的shell Bourne Again shel
阅读全文
posted @ 2022-01-07 19:23 羊37
阅读(442)
评论(0)
推荐(0)
公告