📜  bin bash 错误解释器 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:15.942000             🧑  作者: Mango

代码示例1
#The ^M is a carriage return character. Linux uses the line feed character to mark the end of a line, whereas Windows uses the two-character sequence CR LF. Your file has Windows line endings, which is confusing Linux.
#remove the cariage character

sed -i -e 's/\r$//' NAME-OF-FILE.sh