2007年5月9日星期三

DOS CR-LR文件转化成UNIX LF格式

Dos-style CR-LR line ending into Unix-style LF line ending:
tr -d '\r' <dosfile>unixfile
去掉vi中的^M
:%! col -bx
:set ff=unix

没有评论: