Name
yank
Synopsis
[address
] y [char
] [count
]
Place lines specified by address in
named register char. Register names are the
lowercase letters a
-z
. Uppercase names append text to the
corresponding register. If no char is given,
place lines in the general register. count
specifies the number of lines to yank, starting with
address.
Example
:101,200 ya a Copy lines 100–200 to register "a"
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.