Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: copyChapter 9
The Ex Editor
Next: Reference: edit


[address] d [buffer]

Delete the lines included in address. If buffer is specified, save or append the text to the named buffer.


:/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: copyUNIX in a Nutshell: System V EditionNext: Reference: edit
Reference: copyBook IndexReference: 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