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: RETURN Chapter 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 .

Examples

:s/Overdue/Paid/	
Substitute once on current line

:g/Status/&	
Redo substitution on all "Status" lines


Previous: Reference: RETURN UNIX in a Nutshell: System V Edition Next: Reference: ~
Reference: RETURN Book Index Reference: ~

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










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