Skip to content

@dokipen /proc-rev.sh
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
# You'll need a copy of pcl6 (ghostpcl)
i=0
out=`git rev-parse HEAD`
rm -Rf $out
mkdir $out
cat index.html | cut -f1 | cut -d'/' -f2 | while read line; do
i=$((i + 1))
printf "making ${out}/%02d_${line}.pdf\n" $i
./pcl6 -o "${out}/${i}_${line}.pdf" -sDEVICE=pdfwrite "${line}"
done
pdfunite $out/*.pdf $out.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.