for i in *.man ; do echo "$i..." rman -f HTML -r "%s.man.html" -l "mgetty+sendfax manual: $i" $i >$i.html done .