:%! 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

最新文章

  1. MYSQL(一)
  2. 使用WITH AS提高性能简化嵌套SQL
  3. 第三方框架 INTULocationManager 定位的一些方法
  4. Ubuntu 一键安装pptp
  5. 关于XML(一)。
  6. mybatis中association的column传入多个参数值
  7. java字符串输出
  8. Java8——快速入门手册(学习笔记)
  9. npm下载包很慢和node-sass编译错误的解决办法
  10. WebService详解(二)
  11. DOS窗口如何实现复制粘贴
  12. vue.js - 奇怪的 event 对象
  13. weui textarea超出字符被截断
  14. python3+xlwt 读取txt信息并写入到excel中
  15. Mysql 递归获取多重数组数据
  16. 2017-2018 ACM-ICPC, NEERC A题Automatic Door 挺棘手的模拟
  17. genymotion使用学习
  18. Rails 5 Test Prescriptions 最后一章,如何测试继承下来的代码,legacy code
  19. Buffer Pool--锁定内存页
  20. 由一个场景分析Mysql的join原理

热门文章

  1. Asp.NET core/net 5接口返回实体含有long/int64的属性序列后最后几位变为0的解决
  2. MSF设置监听
  3. dart 学习笔记
  4. 常用Linxu指令
  5. 087_VS load codes for Salesforce
  6. HttpURLConnection.openConnection状态码302
  7. C# 查看变量的内存占用和分布
  8. 第九章:用Python处理省份城市编码数据
  9. nginx从仅支持80到支持80和443
  10. mysql安装,3306端口被占用的解决办法