Mercurial > vim
comparison runtime/doc/usr_21.txt @ 29:ac33b7c03fac v7.0018
updated for version 7.0018
author | vimboss |
---|---|
date | Mon, 11 Oct 2004 10:16:09 +0000 |
parents | 4102fb4ea781 |
children | 4707450c2b33 |
comparison
equal
deleted
inserted
replaced
28:726bdc53fa49 | 29:ac33b7c03fac |
---|---|
1 *usr_21.txt* For Vim version 7.0aa. Last change: 2004 Jun 16 | 1 *usr_21.txt* For Vim version 7.0aa. Last change: 2004 Oct 10 |
2 | 2 |
3 VIM USER MANUAL - by Bram Moolenaar | 3 VIM USER MANUAL - by Bram Moolenaar |
4 | 4 |
5 Go away and come back | 5 Go away and come back |
6 | 6 |
63 :!{program} execute {program} | 63 :!{program} execute {program} |
64 :r !{program} execute {program} and read its output | 64 :r !{program} execute {program} and read its output |
65 :w !{program} execute {program} and send text to its input | 65 :w !{program} execute {program} and send text to its input |
66 :[range]!{program} filter text through {program} | 66 :[range]!{program} filter text through {program} |
67 | 67 |
68 Notice that the presense of a range before "!{program}" makes a big | 68 Notice that the presence of a range before "!{program}" makes a big |
69 difference. Without it executes the program normally, with the range a number | 69 difference. Without it executes the program normally, with the range a number |
70 of text lines is filtered through the program. | 70 of text lines is filtered through the program. |
71 | 71 |
72 Executing a whole row of programs this way is possible. But a shell is much | 72 Executing a whole row of programs this way is possible. But a shell is much |
73 better at it. You can start a new shell this way: > | 73 better at it. You can start a new shell this way: > |