echo atoi
mc -S -O atoi.c
ed atoi.s
1,$s/L/atoi/gp
w
q
mv atoi.s $1/atoi.s
echo getchar
mc -S -O getchar.c
ed getchar.s
1,$s/L/get/gp
w
q
mv getchar.s $1/getchar.s
echo itoh
mc -S -O itoh.c
ed itoh.s
1,$s/L/itoh/gp
w
q
mv itoh.s $1/itoh.s
echo printf
mc -O -S printf.c
ed printf.s
1,$s/L/pri/gp
w
q
mv printf.s $1/printf.s
echo putchar
mc -O -S putchar.c
ed putchar.s
1,$s/L/put/gp
w
q
mv putchar.s $1/putchar.s
echo write
mc -O -S write.c
ed write.s
1,$s/L/wri/gp
w
q
mv write.s $1/write.s
