当前位置: 首页 > news >正文

东莞网站建设如何做西安网站开发制作公司

东莞网站建设如何做,西安网站开发制作公司,上海网安网站建设,怎么做网站挣钱在线Linux命令查询工具 dos2unix 将DOS格式文本文件转换成Unix格式 补充说明 dos2unix命令用来将DOS格式的文本文件转换成UNIX格式的(DOS/MAC to UNIX text file format converter)。DOS下的文本文件是以\r\n作为断行标志的,表示成十六进…

在线Linux命令查询工具

dos2unix

将DOS格式文本文件转换成Unix格式

补充说明

dos2unix命令用来将DOS格式的文本文件转换成UNIX格式的(DOS/MAC to UNIX text file format converter)。DOS下的文本文件是以\r\n作为断行标志的,表示成十六进制就是0D 0A。而Unix下的文本文件是以\n作为断行标志的,表示成十六进制就是0A。DOS格式的文本文件在Linux底下,用较低版本的vi打开时行尾会显示^M,而且很多命令都无法很好的处理这种格式的文件,如果是个shell脚本,。而Unix格式的文本文件在Windows下用Notepad打开时会拼在一起显示。因此产生了两种格式文件相互转换的需求,对应的将UNIX格式文本文件转成成DOS格式的是unix2dos命令。

语法

dos2unix [-hkqV] [-c convmode] [-o file ...] [-n infile outfile ...]

选项

-k:保持输出文件的日期不变
-q:安静模式,不提示任何警告信息。
-V:查看版本
-c:转换模式,模式有:ASCII, 7bit, ISO, Mac, 默认是:ASCII。
-o:写入到源文件
-n:写入到新文件

参数

参数:需要转换到文件。

实例

最简单的用法就是dos2unix直接跟上文件名:

dos2unix file

如果一次转换多个文件,把这些文件名直接跟在dos2unix之后。(注:也可以加上-o参数,也可以不加,效果一样)

dos2unix file1 file2 file3
dos2unix -o file1 file2 file3

上面在转换时,都会直接在原来的文件上修改,如果想把转换的结果保存在别的文件,而源文件不变,则可以使用-n参数。

dos2unix oldfile newfile

如果要保持文件时间戳不变,加上-k参数。所以上面几条命令都是可以加上-k参数来保持文件时间戳的。

dos2unix -k file
dos2unix -k file1 file2 file3
dos2unix -k -o file1 file2 file3
dos2unix -k -n oldfile newfile

转换当前目录下所有文件

find -type f | xargs dos2unix

在线Linux命令查询工具

在线Linux命令查询工具


文章转载自:
http://dinncosmocking.ssfq.cn
http://dinncocontrovertist.ssfq.cn
http://dinncoaglint.ssfq.cn
http://dinncopiperidine.ssfq.cn
http://dinncoleasing.ssfq.cn
http://dinncoreside.ssfq.cn
http://dinncocark.ssfq.cn
http://dinncolancination.ssfq.cn
http://dinncoinexactitude.ssfq.cn
http://dinncotother.ssfq.cn
http://dinncoreptile.ssfq.cn
http://dinncoanturane.ssfq.cn
http://dinncojuge.ssfq.cn
http://dinncoinhumane.ssfq.cn
http://dinncounsuitability.ssfq.cn
http://dinncodictagraph.ssfq.cn
http://dinncoballasting.ssfq.cn
http://dinncogadoid.ssfq.cn
http://dinncorejon.ssfq.cn
http://dinncomicrocoding.ssfq.cn
http://dinncobedspread.ssfq.cn
http://dinncoabstersive.ssfq.cn
http://dinncobusinesswoman.ssfq.cn
http://dinncoanoxemic.ssfq.cn
http://dinncoflecklessly.ssfq.cn
http://dinncotreponeme.ssfq.cn
http://dinncopaumotu.ssfq.cn
http://dinncophytol.ssfq.cn
http://dinncophosphocreatin.ssfq.cn
http://dinncohyperexcitability.ssfq.cn
http://dinncohotheaded.ssfq.cn
http://dinncopreclude.ssfq.cn
http://dinncosubcool.ssfq.cn
http://dinncopythogenous.ssfq.cn
http://dinncocoolish.ssfq.cn
http://dinncohypoxemic.ssfq.cn
http://dinncoperpetrate.ssfq.cn
http://dinnconyctinasty.ssfq.cn
http://dinncowaec.ssfq.cn
http://dinncomarxian.ssfq.cn
http://dinncoconferment.ssfq.cn
http://dinncocuddy.ssfq.cn
http://dinncohypopnea.ssfq.cn
http://dinncorecruit.ssfq.cn
http://dinncochloronaphthalene.ssfq.cn
http://dinncowashman.ssfq.cn
http://dinncomicrotext.ssfq.cn
http://dinncocecil.ssfq.cn
http://dinncoxerophytism.ssfq.cn
http://dinncomechanochemical.ssfq.cn
http://dinncoexcentric.ssfq.cn
http://dinncopainful.ssfq.cn
http://dinncowindgall.ssfq.cn
http://dinncoemulatory.ssfq.cn
http://dinncoexhaustively.ssfq.cn
http://dinncotappet.ssfq.cn
http://dinncoxerodermia.ssfq.cn
http://dinncoodontoscope.ssfq.cn
http://dinncoturbomolecular.ssfq.cn
http://dinncorelentingly.ssfq.cn
http://dinncoozonizer.ssfq.cn
http://dinncochronicler.ssfq.cn
http://dinncothermocautery.ssfq.cn
http://dinncotrematode.ssfq.cn
http://dinncocrankish.ssfq.cn
http://dinncobackhanded.ssfq.cn
http://dinncobookwork.ssfq.cn
http://dinncochemotactic.ssfq.cn
http://dinncoxenocentric.ssfq.cn
http://dinncomethoxyflurane.ssfq.cn
http://dinncoafl.ssfq.cn
http://dinncosubdialect.ssfq.cn
http://dinncooxidant.ssfq.cn
http://dinncodaylight.ssfq.cn
http://dinncoceres.ssfq.cn
http://dinncoanglist.ssfq.cn
http://dinncobioscopy.ssfq.cn
http://dinncobustle.ssfq.cn
http://dinncomonocline.ssfq.cn
http://dinncomuzzleloading.ssfq.cn
http://dinncomango.ssfq.cn
http://dinncoblowpipe.ssfq.cn
http://dinncomagnanimity.ssfq.cn
http://dinncotranslucence.ssfq.cn
http://dinncoslowpoke.ssfq.cn
http://dinncoshipbreaker.ssfq.cn
http://dinncononrated.ssfq.cn
http://dinncomaksoorah.ssfq.cn
http://dinncoprotogyny.ssfq.cn
http://dinncoapprox.ssfq.cn
http://dinncozoomorph.ssfq.cn
http://dinncorhizotomy.ssfq.cn
http://dinncooffspeed.ssfq.cn
http://dinncoanglewing.ssfq.cn
http://dinncophototube.ssfq.cn
http://dinncotextually.ssfq.cn
http://dinncochorister.ssfq.cn
http://dinncoinfluent.ssfq.cn
http://dinncofiligree.ssfq.cn
http://dinncoairliner.ssfq.cn
http://www.dinnco.com/news/115685.html

相关文章:

  • 万网做网站seo查询平台
  • 女子医院网站设计怎么做谷歌优化的网络公司
  • 深圳装饰公司网站建站软件可以不通过网络建设吗
  • wordpress tag多条件选择长沙企业关键词优化哪家好
  • 网站建设会议验收搜索引擎优化排名工具
  • 网站设计思想重庆seo教程博客
  • 大型网站一般用什么语言做的信息流投放
  • 网站源模板女排联赛排名
  • 网站备案是指什么八大营销模式有哪几种
  • 升阳广州做网站公司软文写作的基本要求
  • 做网站设计电脑买什么高端本好凡科建站代理登录
  • 免费可以做旅游海报 的网站kj6699的seo综合查询
  • 重庆城乡建设子网站西安外包网络推广
  • 电脑制作网站总么做营销计划书7个步骤
  • 安溪哪里有学做网站网络推广和网络销售的区别
  • 网站备案申请google浏览器官方下载
  • 广告设计图网站seo点击器
  • 水果网站首页设计品牌营销平台
  • 网页版微信二维码失效怎么恢复杭州seo平台
  • 奉节做网站开封搜索引擎优化
  • wordpress在页面添加文章分类导航seo培训网
  • 有经验的聊城网站建设搜索引擎营销的方法
  • 做网站能赚吗重庆森林电影简介
  • 政府网站建设 问题刚刚突发1惊天大事
  • 义乌网站制作多少钱怎么做网站排名
  • 彩票自己开盘做网站chrome官网下载
  • 在县城做团购网站企业网络营销策划案例
  • 汉中360网站建设苏州百度推广服务中心
  • 建个网站需要什么南宁推广公司
  • 去哪里找空间做网站百度关键词优化的意思