either do: cat [file] [file] [file] [file] ... >CSharp_LESSON12.pdf
or (cleaner) for i in les*.pdf; do cat $i >> CSharp_LESSON12.pdf; done I don't think you can just cat pdf's together though... (headers etc.) On Mon, 2003-09-01 at 19:18, Mark wrote: > Hi List, > > I've forgotten how to do something that I used to know how to do. That is, > using cat to combine a list of files into one single file. > > The problem: > the list of files below, I would like to combine into just one file. > les_csharp_12_p1.pdf > les_csharp_12_p2.pdf > les_csharp_12_p3.pdf > les_csharp_12_p4.pdf > les_csharp_12_p5.pdf > les_csharp_12_p6.pdf > les_csharp_12_p7.pdf > > I would like the contents of the above list of files to appear in this > file: CSharp_LESSON12.pdf > > Solution: ??? > > Mark > > > ______________________________________________________________________ > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com