Name
~
Synopsis
[address
] ~ [count
]
Replace the last used regular expression (even if from a
search, and not from an s
command) with the replacement pattern from the most recent
s
(substitute) command. This is
rather obscure; see Chapter
6 of Learning the vi Editor for
details.
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.