vim中的命令行 %! 是啥意思?
2024-10-21 19:41:05
:%! command
pipes the current file's contents to command
's stdin, and replaces the file's contents with command
's stdout.
So, :%! sort
is pretty much the same as (from a shell) cat file | sort > tmp && mv tmp file
.
来源:https://vi.stackexchange.com/questions/10098/what-does-mean
最新文章
- MYSQL(一)
- 使用WITH AS提高性能简化嵌套SQL
- 第三方框架 INTULocationManager 定位的一些方法
- Ubuntu 一键安装pptp
- 关于XML(一)。
- mybatis中association的column传入多个参数值
- java字符串输出
- Java8——快速入门手册(学习笔记)
- npm下载包很慢和node-sass编译错误的解决办法
- WebService详解(二)
- DOS窗口如何实现复制粘贴
- vue.js - 奇怪的 event 对象
- weui textarea超出字符被截断
- python3+xlwt 读取txt信息并写入到excel中
- Mysql 递归获取多重数组数据
- 2017-2018 ACM-ICPC, NEERC A题Automatic Door 挺棘手的模拟
- genymotion使用学习
- Rails 5 Test Prescriptions 最后一章,如何测试继承下来的代码,legacy code
- Buffer Pool--锁定内存页
- 由一个场景分析Mysql的join原理