30.9 Using Search Patterns and Global CommandsBesides using line numbers and address symbols
(
Note that patterns are delimited by a slash both before and after . If you make deletions by pattern with vi and ex , there is a difference in the way the two editors operate. Suppose you have in your file practice the lines:
30.9.1 Global SearchesIn vi
you use a You can use the global command on all lines in the file, or you can use line addresses to limit a global search to specified lines or to a range of lines.
- from O'Reilly & Associates' Learning the vi Editor , Chapter 5 |
|