dos转unix
2024-08-25 20:33:52
方式一
# yum install dos2unix.x86_64
# dos2unix file
方式二
查看样式:
:set ff? //dos/unix
设置:
:set fileformat=unix
方式三
- :%s/^M//g
其中^M 必须是同时按 Ctrl+V+M ,表示回车 - 使用tr
tr -d “\015” test.txt
最新文章
- 最大半连通子图 bzoj 1093
- XVI Open Cup named after E.V. Pankratiev. GP of Siberia
- linux 下 TeXmacs 作 Mathematica 10 的前端
- backbone &; django csrf_token的问题
- C#7.0中有新特性
- android StringBuffer类的使用
- UVa 1225 Digit Counting
- MongoDB在windows下安装配置
- com和dll(一)
- css基础内容之background
- sphinx安装
- 微信小程序(六) 文章详情静态页面detail
- jquery validate 校验时,如果有type=hiddien
- javascript OOP实例—探测器
- [Java] zjdbcping:JDBC数据库连接测试工具
- HTTPS 怎样保证数据传输的安全性
- MVC知识点记录
- sql server2016里面的json功能 - 转
- 图->;存储结构->;十字链表
- 算法笔记-PHP实现栈的操作
热门文章
- [20190909]完善vim的bccacl插件.txt
- emacs speedbar功能介绍
- [Go] gocron源码阅读-go语言中数组和切片的字面值初始化语法
- [PHP] 现代化PHP之路:composer的安装和升级
- 2、mongoDB的基本操作
- client-go向controller进发---code-generator实现
- drf扩展知识点总结视图
- [C4W3] Convolutional Neural Networks - Object detection
- Linux上error while loading shared libraries问题解决方法
- vue项目搭建介绍01