Name
Synopsis
[address
] p [count
] [address
] P [count
]
Print the lines specified by address
. count
specifies the number of lines to print, starting with address
. Add a !
to discard any changes to the current file.
Example
:100;+5p Show line 100 and the next 5 lines
Get Mac OS X Tiger in a Nutshell 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.