The command
pdftk FileOne.pdf "File two.pdf" output Combined.pdf
works as expected, merging PDF's One and Two. However, if I put the filenames in a file
FileOne.pdf
"File Two.pdf"
and then use
pdftk $(< Files.lst) output Combined.pdf
I get the error messages
Error: Failed to open PDF file:
"File
Error: Unable to find file.
Error: Failed to open PDF file:
Two.pdf"
Obviously, pdftk
is seeing the quotes, so I don't understand how it can distinguish the two cases (which is why I am posing the question in this forum).
For the record, I am using MKS Toolkit Korn shell, invoked from Emacs. I get the same in the Cygwin bash shell.