Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!ncar!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!rcte2p From: rcte2p@menudo.uh.edu (Paul Stephen Sears) Newsgroups: comp.unix.questions Subject: Questions on using pr and cat... Message-ID: <1991Jan9.211742.16190@menudo.uh.edu> Date: 9 Jan 91 21:17:42 GMT Sender: rcte2p@menudo.uh.edu (Paul Stephen Sears) Distribution: usa Organization: University of Houston Lines: 18 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@Jetson.uh.edu *** | might possibly originate with him." RCTE2P@menudo.uh.edu * * * | - PROPAGANDA, from A Secret Wish (CD)