shell_picker 发表于 2013-1-15 02:30:48

用sed转换Unix/Windows文件格式

找了好多都没用,终于找到个有用的:http://os.chinaitzhe.com/linux/2007-11/119551683420094.html

Unix->Windows:sed -e 's/$/\r/'

win->Unix:sed -e 's/.$//'
页: [1]
查看完整版本: 用sed转换Unix/Windows文件格式