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

delete

[address ] d [buffer ]

Delete the lines included in address . If buffer is specified, save or append the text to the named buffer. Buffer names are the lowercase letters a-z. Uppercase names append text to the buffer.

Examples

:/Part I/,/Part II/-1d  Delete to line above "Part II"

:/main/+d               Delete line below "main"

:.,$d                   Delete from this line to last line


Previous: Reference: copy UNIX in a Nutshell: System V Edition Next: Reference: edit
Reference: copy Book Index Reference: edit

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