#! /bin/bash

pnmcat -lr expl00.ppm expl01.ppm expl02.ppm expl03.ppm >tmp1.ppm
pnmcat -lr expl04.ppm expl05.ppm expl06.ppm expl07.ppm >tmp2.ppm
pnmcat -lr expl08.ppm expl09.ppm expl0a.ppm expl0b.ppm >tmp3.ppm
pnmcat -lr expl0c.ppm expl0d.ppm expl0e.ppm expl0f.ppm >tmp4.ppm
pnmcat -tb tmp1.ppm tmp2.ppm tmp3.ppm tmp4.ppm >expl.ppm

pnmcat -lr expl00.pbm expl01.pbm expl02.pbm expl03.pbm >tmp1.pbm
pnmcat -lr expl04.pbm expl05.pbm expl06.pbm expl07.pbm >tmp2.pbm
pnmcat -lr expl08.pbm expl09.pbm expl0a.pbm expl0b.pbm >tmp3.pbm
pnmcat -lr expl0c.pbm expl0d.pbm expl0e.pbm expl0f.pbm >tmp4.pbm
pnmcat -tb tmp1.pbm tmp2.pbm tmp3.pbm tmp4.pbm >expl.pbm

rm -f tmp?.p?m
