1 2 3 4 5 6 7 8 9 10 11 12
#! /bin/bash # This script tests: pgmhist # Also requires: pgmramp # Ignore differences in spaces. pgmramp -maxval=8 -lr 8 2 | pgmhist | \ sed -e 's/ */ /g' -e 's/ *$//' pgmhist testgrid.pbm | \ sed -e 's/ */ /g' -e 's/ *$//'