joining multiple PDFs into one

Thomas Milne thomas.bruce.milne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Nov 16 02:30:27 UTC 2011


No, I don't mean that. Don't make up things I didn't say so you can go
off on some masturbatory riff. I never mentioned sed, or programming.
I asked why cat didn't work the way I expected. I got an answer. Now
you're just being annoying.

On Tue, Nov 15, 2011 at 9:21 PM, Russ <rreiter91-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> You mean I cant use cat and sed to join several pdf files into one pdf file. Try telling that to Kernighan and Pike who tell us that the power of a system comes more from the relationships among programs than the programs themselves.
>
> Thomas Milne <thomas.bruce.milne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>
>>On Tue, Nov 15, 2011 at 4:58 PM, Russell Reiter <rreiter91-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>>> On Tue, Nov 15, 2011 at 4:14 PM, Thomas Milne
>>> <thomas.bruce.milne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>>>> On Tue, Nov 15, 2011 at 4:03 PM, Russell Reiter <rreiter91-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>>>>> Someone else had posted that: cat file1.pdf > out.pdf cat file2.pdf
>>>>>>>out.pdf cat file3.pdf>>out.pdf worked and they were able to see all
>>>>> three PDF pages. Before anyone jumps on this I know this is not the
>>>>> same as the following.
>>>>>
>>>>> cat file1.pdf file2.pdf file3.pdf>out.pdf did not work, even though
>>>>> the man page says it should. I see only two possibilities, your
>>>>> environment changed the way cat works or your pdf parser couldn't do
>>>>> what the parser of the person who had success viewing the document
>>>>> could do, and that is deal with the multiple headers and eof
>>>>> characters in the resulting single document.
>>>>
>>>> The third possibility is that you are just wrong.
>>>
>>> Wrong about what exactly?
>>
>>cat simply does not work with all kinds of files, and does not work
>>reliably with PDFs. I don't see any reason to assume that the "only
>>two possibilities" are as you assume.
>>
>>--
>>Thomas Milne
>>--
>>The Toronto Linux Users Group.      Meetings: http://gtalug.org/
>>TLUG requests: Linux topics, No HTML, wrap text below 80 columns
>>How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>



-- 
Thomas Milne
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list