: this file will convert data portions to text
: starting with the first .byte statement after the first .text
: loop
if $1x = x exit
echo $1.c to $1.s
ncc -S -O $1.c
echo edit $1.s to $1.s
ed - $1.s
/\.text/;/\.byte/i
.text
.
w
q
echo $1.s to $1.o
v6as -f:$1.o - $1.s
echo delete $1.s
rm -f $1.s
shift
goto loop
