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

UNIX in a Nutshell: System V Edition

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


[address] & [options] [count]

Repeat the previous substitution (s) command. count specifies the number of lines on which to substitute, starting with address.


:s/Overdue/Paid/	Substitute once on current line
:g/Status/&	Redo substitution on all "Status" lines

Previous: Reference: RETURNUNIX in a Nutshell: System V EditionNext: Reference: ~
Reference: RETURNBook IndexReference: ~

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