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

&

[address ] & [options ] [count ]

Repeat the previous substitute (s ) command. count specifies the number of lines on which to substitute, starting with address . options are the same as for the substitute command.

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










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