110 lines · 1.8 KB · Text
RawDownload
.TH PR 1.SH NAMEpr \- print file.SH SYNOPSIS.B pr[.I option ...][.I file ...].SH DESCRIPTION.I Prproduces a printed listing of one or more.I fileson its standard output.The output is separated into pages headed by a date,the name of the file or a specified header, and the page number.With no file arguments,.I prprints its standard input..PPOptions apply to all following files but may be resetbetween files:.TP.BI - nProduce.IR n -columnoutput..TP.BI + nBegin printing with page.IR  n ..TP.B -bBalance columns on last page, in case of multi-column output..TP.B -dDouble space..TP.BI -e nSet the tab stops for input text every.I nspaces..TP.B  -hTake the next argument as a page header .RI ( fileby default)..TP.BI -i nReplace sequences of blanks in the outputby tabs, using tab stops set every.I nspaces..TP.BI -fUse form feeds to separate pages..TP.BI -l nTake the length of the page to be.I nlines instead of the default 66..TP.B  -mPrint all.I filessimultaneously,each in one column..TP.BI -n mNumber the lines of each.IR file .The numeric argument.IR m ,default 5,sets the width of the line-number field..TP.BI -o nOffset the left margin.I ncharacter positions..TP.BI -pPad each file printed to an even number of pages, if necessary.For two-sided printers,this will ensure each file will start a new page..TP.BI -s cSeparate columns by the single character.I cinstead of aligning them with white space.A missing.I cis taken to be a tab..TP.B  -tDo not print the 5-line header or the5-line trailer normally supplied for each page..TP.BI -w nFor multi-column output,take the width of the page to be.I ncharacters instead of the default 72..SH SOURCE.B /sys/src/cmd/pr.c.SH "SEE ALSO".IR cat (1),.IR lp (1)