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

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 NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru