1 2 3 4 5 6 7 8 9
#! /bin/sh # This script tests: pgmtofs fstopgm # Also requires: pamchannel pamtopnm # Should produce 1571496937 33838, cksum of testimg.red pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ pgmtofs | fstopgm | cksum