1. 首页
  2. 移动开发
  3. 其他
  4. vil:使用Vim脚本编辑文本 源码

vil:使用Vim脚本编辑文本 源码

上传者: 2021-04-06 12:48:20上传 ZIP文件 5.04KB 热度 13次
维尔 使用Vim脚本编辑文本。 $ cat nums 5 2 4 $ cat nums | vil %sort 2 4 5 $ vil --help 2>&1 | vil -ne'%s/^ *//|g/^-/+1p' suppress automatic printing of buffer add the script to the commands to be executed add the contents of script-file to the commands to be executed display this help and exit output version information and exit 用法 $ vil [OPTION]... {script-only-if-no-other-script} [input-file]... Options:
下载地址
用户评论