view bin/qpdf @ 125:cd927e5c133f

extract Last Modified via cdx
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 28 Jun 2021 21:50:30 +0000
parents 551ff1de13d8
children 660dc255542a
line wrap: on
line source

#!/usr/bin/bash
G=/lustre/home/dc007/hst/gentoo
if [ "${!#}" = "-" ]
then
 cat > /tmp/xxx.pdf
 LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "${@:1:${#}-1}" /tmp/xxx.pdf
else
 LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "$@"
fi