answersLogoWhite

0

How do you paginate files?

Updated: 11/19/2022
User Avatar

Wiki User

13y ago

Best Answer

This command i.e. pr, prepares a file for printing by adding suitable headers, footers and formatted

text. This command has to be used with a file name as an argument.

pr adds five lines of margin at the top and five at the bottom. The header shows the date and time of

last modification of the file, along with the file name and page number.

There's one option that uses a number prefixed by a + to print from a specific page number. Another

option (-l) set the page length.

pr -l 54 emp.lst Page set to 54 lines

pr +5 emp.lst Starts printing from page 5

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you paginate files?
Write your answer...
Submit
Still have questions?
magnify glass
imp