pr

pr

The pr command converts text files into paginated, columnar output and can include headers and page fills.


Options

-d double space

-h header include a header

-l lines set line length, the default is 66

-o width set the left margin to width


Here is an example using a header for the file info:


pr -h MyAddresses info



2005-09-04 04:02 MyAddresses Page 1



mike Helena 56 Montana Street

tom Missoula 43 South Street

mary Butte 84 Copper Street