#!/bin/bash FILTRES="5:6:13 2 5:6:8 4:25 8:13:13:7 10:1 25:25:25" for F in $FILTRES do I="/tmp/fstack"$F".png" echo ; echo $I ./t -F $F txt=$(printf "[%-10s]" $F) convert foo.png -pointsize 32 -kerning 0 \ -fill Orange -undercolor Gray20 \ -font Courier-Bold \ -annotate +20+40 "$txt" \ $I done convert -delay 100 /tmp/fstack*.png foo.gif