home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: unmap Chapter 9
The Ex Editor
Next: Reference: version
 

v

[

address

] 

v/



pattern



/

[

commands

]

Execute commands on all lines not containing pattern . If commands are not specified, print all such lines. v is equivalent to g! .

Example

:v/#include/d	
Delete all lines except "#include" lines


Previous: Reference: unmap UNIX in a Nutshell: System V Edition Next: Reference: version
Reference: unmap Book Index Reference: version

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System