Mark Vytlacil wrote:
> Most often I use pr to format text files or source code before
> sending them to my 80 column ink jet printer. Many of these files
> have lots of lines > 72 (or 80) chars long and I don't want to
> truncate or bother to edit the file to fit my printer. The printer
> wraps the long line to the next line, but that means that pr's page
> length won't fit on the printer's page anymore, so I get an extra
> page with no header and only a few lines. This seems stupid to me.

You might consider looking into using 'fold'.  Here is an example.

  fold filetoprint.txt | pr

Bob


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to