-
Notifications
You must be signed in to change notification settings - Fork 1
/
replace_svg_colour.sh
executable file
·36 lines (35 loc) · 1.09 KB
/
replace_svg_colour.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
IMAGES="images/arbitrary-access.svg \
images/divergence-analysis.svg \
images/F-vs-VFn.svg \
images/horizontal-vectorization.svg \
images/if-cfg.svg \
images/interleaved-access.svg \
images/linearization-overview.svg \
images/loop-example1.svg \
images/loop-linear-cfg.svg \
images/loop-linearization1.svg \
images/loop-linearization2.svg \
images/loop-linearization3.svg \
images/mask-generation.svg \
images/packetization-1.svg \
images/packetization-2.svg \
images/packetization-3.svg \
images/packetization-4.svg \
images/phi-packetization.svg \
images/scalarization-end.svg \
images/scalarization-start.svg \
images/sequential-access.svg \
images/stages-control-flow.svg \
images/stages-packet.svg \
images/stages.svg \
images/stages-scalar.svg \
images/uniform-access.svg \
images/uva-example-end.svg \
images/uva-example-interm.svg \
images/uva-example-start.svg \
images/vertical-vectorization.svg \
images/work-items.svg"
for IMAGE in $IMAGES
do
sed -i "s/#$1/#$2/g" $IMAGE
done