/usr/bin/pdfjoin is in pdfjam 2.05-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh
##
## pdfjoin: A shell program to concatenate PDF files
##
## Author David Firth (http://go.warwick.ac.uk/dfirth)
##
## This is a simple wrapper for pdfjam, version 2.05
##
E_USAGE=64 ## for a command line usage error
for arg
do
case $arg in
--batch)
printf "pdfjoin ERROR: the --batch option is not allowed\n" 1>&2;
exit "$E_USAGE" ;;
--orient) ## this was allowed in previous versions of pdfjoin
printf "pdfjoin ERROR: the --orient option is not allowed,\n" 1>&2;
printf " use --landscape or --no-landscape to specify\n" 1>&2;
printf " the output page orientation" 1>&2;
exit "$E_USAGE" ;;
*) continue ;;
esac
done
exec pdfjam --fitpaper true --rotateoversize true --suffix joined "$@"
|