#!/bin/sh for i in 1 2; do m4 -DLENGTH=$i mulredc_1_2.m4 > mulredc$i.asm done for i in 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do m4 -DLENGTH=$i mulredc.m4 > mulredc$i.asm done