I would like to convert several webpages into a pdf file, by:
wkhtmltopdf http://think-like-a-git.net/sections/about-this-site.html http://think-like-a-git.net/sections/about-this-site/who-this-site-is-for.html all.pdf
If I put the two input arguments into a text file called "links":
http://think-like-a-git.net/sections/about-this-site.html
http://think-like-a-git.net/sections/about-this-site/who-this-site-is-for.html
how shall I specify the input arguments in terms of the file? The following doesn't work:
$ wkhtmltopdf "$(cat links)" all.pdf
Loading pages (1/6)
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
Exit with code 1 due to network error: ContentNotFoundError