#!/bin/sh fname="$1" pamcut -left=0 -width=328 <"$fname" >"john_1.pnm" pamcut -cropleft=328 -width=328 <"$fname" >"john_2.pnm" pamcut -cropleft=656 <"$fname" >"john_3.pnm" echo "file john_1.pnm john_2.pnm john_3.pnm" >img/john.dat ./launch.sh ./beeite.lua