文本数据linux和windows处理换行符差一个字符.
linux是/n
windows是/r/n
If copy file created in window to linux, you need the delete /r .
sed -i 's//r//g' file-name
文件file-name里的/r没了
文本数据linux和windows处理换行符差一个字符.
linux是/n
windows是/r/n
If copy file created in window to linux, you need the delete /r .
sed -i 's//r//g' file-name
文件file-name里的/r没了