#!/bin/ksh #Output a GIF file as decimal ASCII numbers, one pixel per line. #pnmtoplainpnm outputs 6 pixels per line, separated by a double bank. #The sed changes each double blank to a newline, #so that each pixel is output on a separate line. export PATH=$PATH:\ ~mm64/public_html/INFO1-CE9236/netpbm/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\ ~mm64/public_html/INFO1-CE9236/netpbm/lib ~mm64/public_html/INFO1-CE9236/netpbm/bin/giftopnm | ~mm64/public_html/INFO1-CE9236/netpbm/bin/pnmtoplainpnm | sed 's/\([0-9][0-9]* [0-9][0-9]* [0-9][0-9]*\)[ ][ ]*/\1\ /g' exit 0 sed 's/ /\ /g'