ubuntu上,文件换行符的转换命令
2014-05-06 15:51
369 查看
Ubuntu下使用tofrodos进行换行符的转换 , 下面就说一下它的安装和使用。
(1)安装tofrodos
sudo apt-get install tofrodos
实际上它安装了两个工具:todos(相当于unix2dos),和fromdos(相当于dos2unix)
(2)使用
todos Hello.txt (即unix2dos Hello.txt)
fromdos Hello.txt (即dos2unix Hello.txt)
转自http://www.233.com/linux/fudao/20110118/140003976.html
(1)安装tofrodos
sudo apt-get install tofrodos
实际上它安装了两个工具:todos(相当于unix2dos),和fromdos(相当于dos2unix)
(2)使用
todos Hello.txt (即unix2dos Hello.txt)
fromdos Hello.txt (即dos2unix Hello.txt)
转自http://www.233.com/linux/fudao/20110118/140003976.html
相关文章推荐
- sed命令换行符问题以及跳转命令-对文件处理,整个文件先转换为一行处理完后再把换行加上
- ubuntu下用java代码调用命令将java格式文件转换为html格式文件
- Ubuntu 12.04 转换windows文件换行符
- Ubuntu文件的复制、移动和删除命令
- Ubuntu终端文件的压缩和解压缩命令
- Ubuntu_SSH远程文件/目录传输命令scp
- Ubuntu文件 & 目录类命令
- iconv内容,convmv文件名,unix2dos,dos2unix文件格式转换,od/cut/wc/dd/diff/uniq/nice/du等命令,linux文件名乱码,文件名,文件内容,vim编码设置
- 换行符在Linux和Windows下的区别以及将Linux和windows下的文件的互转的Linux命令:unix2dos, dos2unix
- Ubuntu下使用VI编辑文件必知的常用命令
- Ubuntu用rename命令批量重命名文件
- xml转换cs文件,XSD.exe的使用举例,VS自带运行命令使用
- ubuntu系统中文件和内容查找命令小结
- sox :音频文件转换命令
- Ubuntu下ssh服务器文件操作命令
- VMware 虚拟机 安装 UBuntu 9.10 命令模式转换成窗口模试
- ubuntu常用文件搜索命令
- Ubuntu下使用ls命令显示文件颜色相关内容及修改
- git换行符自动转换导致整个文件被修改的解决方案
- 有趣的问题,builder的转换文件命令居然和winxp的convert.exe文件同名。