Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!msuinfo!laurium.cps.msu.edu!raja From: raja@bombay.cps.msu.edu (Narayan S. Raja) Newsgroups: comp.unix.questions Subject: Re: Questions on using pr and cat... Message-ID: <1991Jan10.010844.27867@msuinfo.cl.msu.edu> Date: 10 Jan 91 01:08:44 GMT References: <1991Jan9.211742.16190@menudo.uh.edu> Sender: news@msuinfo.cl.msu.edu Reply-To: raja@cpswh.cps.msu.edu Distribution: usa Organization: PRIP Lab, Comp. Sci. Dept., MSU Lines: 16 In article <1991Jan9.211742.16190@menudo>, (Paul Stephen Sears) writes: < 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 more * > tempfile Narayan Sriranga Raja.