'\r':|'\r': command not found
【'\r':|'\r': command not found】2019-06-14方法一
dos2unix
方法二
sed -i 's/\r$//' filename
Explanation:
Option
-i
is for in-place editing, we delete the trailing \r
directly in the input file. Thus be careful to type the pattern correctly.推荐阅读
- (If)|(If) 404 Not Found
- cannot|cannot be read or is not a valid ZIP file
- nottodo,别做什么比计划做什么更重要
- Book|Book Review: Foundations of Statistical Natural Language Processing
- 由Uncaught|由Uncaught TypeError: this.player.startMoveAt is not a function引申
- 运行报错Cannot|运行报错Cannot find module '@babel/compat-data/corejs3-shipped-proposals’
- iOS【NotificationContent-App|iOS【NotificationContent-App Group共享】
- Android|Android Notification
- Android|Android O 8.0及其以上系统的通知(Notification)、安装apk问题更新后的简单兼容写法
- AVPlayer