Questions on using pr and cat...

Paul Stephen Sears rcte2p at menudo.uh.edu
Thu Jan 10 08:17:42 AEST 1991


I have some questions about pr and cat.  I want to combine a number of
small text files into a single file.  Many of these files are less than
one page long.  They are not also very nicely formatted.  I thought of
using cat, but the files run together and I wanted a way to identify
each new file.  So I considered using pr since it puts on headers and
footers... Now, what I want to be able to do in pr is to KEEP the
headers and to remove the footers since, only one file will be put on a
page and that is what I am trying to avoid.  If I do a pr -t *, I get
all the files together, but I loose the header that separated the files.
I guess, I would like something like the VMS command print/nofeed/header
*.  Any ideas?


-- 
Paul Sears      The Univ. of Houston |"The greater an individual's power
Student of the College of Technology | over others, the greater the evil that
RCTE2P at Jetson.uh.edu      ***        | might possibly originate with him."  
RCTE2P at menudo.uh.edu     * * *       | - PROPAGANDA, from A Secret Wish (CD)



More information about the Comp.unix.questions mailing list