]> AND Private Git Repository - loba-papers.git/blob - supercomp11/data/split-allgraphs
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Finalize graph generation.
[loba-papers.git] / supercomp11 / data / split-allgraphs
1 #!/bin/bash
2
3 set -e
4
5 make allgraphs.pdf
6
7 mkdir -vp graphs
8 cd graphs
9
10 echo "Separate pages..."
11 pdfseparate ../allgraphs.pdf g-%d.pdf || true
12
13 for f in g-[0-9]*.pdf; do
14     n=$(pdftotext $f - | sed '\,/,!d;s, / ,-,g').pdf
15     mv -v $f $n
16 done