pr—prints files

pr [[–columns] [–wwidth] [–a]] [–eck] [–ick] [–drtfp]
    [+page] [–nck] [–ooffset] [–llength] [–sseparator]
    [–hheader] [–F] [filename …]
pr [[–m] [–wwidth]] [–eck] [–ick] [–drtfp] [+page] [–nck]
    [–ooffset] [–llength] [–sseparator] [–hheader] [–F
    [filename1 filename2 …]

The pr command formats and prints the contents of a file according to different format options. By default, the listing is sent to stdout and is separated into pages, each headed by the page number, the date and time that the file was last modified, and the name of the file. If no options are specified, the default file format is 66 lines with a 5-line header and 5-line trailer.

Example A.43.
					pr-2dh "TITLE" file1 file2
				

Explanation

Prints two columns double-sided, ...

Get Linux Shells by Example 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.