UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: preserveChapter 9
The Ex Editor
Next: Reference: put
 

print

[address] p [count]

Print the lines specified by address. count specifies the number of lines to print, starting with address. P is another abbreviation.

Example

:100;+5p	Show line 100 and the next five lines


Previous: Reference: preserveUNIX in a Nutshell: System V EditionNext: Reference: put
Reference: preserveBook IndexReference: put

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System