[Poppler-bugs] [Bug 72720] New: pdfunite of a single file should not fail
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Dec 14 18:16:01 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=72720
Priority: medium
Bug ID: 72720
Assignee: poppler-bugs at lists.freedesktop.org
Summary: pdfunite of a single file should not fail
Severity: minor
Classification: Unclassified
OS: All
Reporter: marc.donner at gmail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: poppler
I have a large document (circa 1,000 pages) that I have used pdfseparate to
break into individual pages and that I am then using pdfunite to combine into
useful bundles of pages. Some of the bundles are comprised of a single page.
I manage the bundle creation process using a set of data objects, so the basic
inner loop goes something like this:
pdfunite ${SOURCE_LIST} ${DESTINATION_FILE}
If ${SOURCE_LIST} happens to contain a single PDF file, then pdfunite whines
and refuses to work, so I've had to special case these items and make the
command be cp instead of pdfunite.
I argue that for clean closure pdfunite source.pdf dest.pdf should copy
source.pdf to dest.pdf
If the poppler community agrees that this is a valid proposal, I'd be happy to
submit a change list to implement the fix.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20131215/c1eae7a2/attachment.html>
More information about the Poppler-bugs
mailing list