[oclug] The 'pr' command

Zac 'zacs' Sprackett zac at sprackett.com
Tue Aug 28 14:28:10 EDT 2001


* Vic Gedris scribbled:
> 
> Is there a way to force line breaks on really long lines when using 'pr'
> so that lines wrap instead of disappearing?
> 
> I often use:
> pr filename.txt | lpr
> to print stuff....But with long lines, I'm losing text.

I dont know what pr does, but you could probably pipe it to fold....

-z
-- 
Zac Sprackett               Software Engineer             VA Linux Systems
zacs at valinux.com              (613)270-8128           http://www.valinux.com
    1024D/E1F06C16   0CED 5CC6 69EB FC49 0EB8  15C6 0D38 FAF1 E1F0 6C16



More information about the OCLUG mailing list