1 2 3 4 5 6 7 8 9 10 11
#! /bin/bash # This script tests: pamfile # Also requires: ppmtopgm alias pamfile="${PBM_TESTPREFIX}pamfile" alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm" shopt -s expand_aliases pamfile testimg.ppm pamfile testgrid.pbm ppmtopgm testimg.ppm | pamfile