echo "WildLife Edit Utility"
echo "Edit any .c file & compared with 1.02 version on top?"
echo "1.02 Wrte Protected"
echo "enter 0 to proceed 999 to quit"
read select
while [ $select -ne 999 ]
do 
echo "-----------"
echo ".c files for wild life"
echo "-----------"
echo "1 arity.c"
echo "2 bi_math.c"
echo "3 bi_sys.c"
echo "4 bi_type.c"
echo "5 built_ins.c"
echo "6 copy.c"
echo "7 error.c"
echo "8 hash_table.c"
echo "9 info.c"
echo "10 interrupt.c"
echo "11 lefun.c"
echo "12 lib.c"
echo "13 life.c"
echo "14 list.c"
echo "15 login.c"
echo "16 lub.c"
echo "17 memory.c"
echo "18 modules.c"
echo "19 parser.c"
echo "20 print.c"
echo "21 raw.c"
echo "22 sys.c"
echo "23 sys_dbm.c"
echo "24 templates.c"
echo "25 token.c"
echo "26 trees.c"
echo "27 types.c"
echo "28 xdisplaylist.c"
echo "29 xpred.c"






echo "777 NOTES_DJD.txt"
echo "999 quit"
echo "select"
read select
case $select in
1) $EDITOR ../../Life-1.02/Source/arity.c arity.c ;;
2) $EDITOR ../../Life-1.02/Source/bi_math.c bi_math.c ;;
3) $EDITOR ../../Life-1.02/Source/bi_sys.c bi_sys.c ;;
4) $EDITOR ../../Life-1.02/Source/bi_type.c bi_type.c ;;
5) $EDITOR ../../Life-1.02/Source/built_ins.c built_ins.c ;;
6) $EDITOR ../../Life-1.02/Source/copy.c copy.c ;;
7) $EDITOR ../../Life-1.02/Source/error.c error.c ;;
8) $EDITOR ../../Life-1.02/Source/hash_table.c hash_table.c ;;
9) $EDITOR ../../Life-1.02/Source/info.c info.c ;;
10) $EDITOR ../../Life-1.02/Source/interrupt.c interrupt.c ;;
11) $EDITOR ../../Life-1.02/Source/lefun.c lefun.c ;;
12) $EDITOR ../../Life-1.02/Source/lib.c lib.c ;;
13) $EDITOR ../../Life-1.02/Source/life.c life.c ;;
14) $EDITOR ../../Life-1.02/Source/list.c list.c ;;
15) $EDITOR ../../Life-1.02/Source/login.c login.c ;;
16) $EDITOR ../../Life-1.02/Source/lub.c lub.c ;;
17) $EDITOR ../../Life-1.02/Source/memory.c memory.c ;;
18) $EDITOR ../../Life-1.02/Source/modules.c modules.c ;;
19) $EDITOR ../../Life-1.02/Source/parser.c  parser.c ;;
20) $EDITOR ../../Life-1.02/Source/print.c  print.c ;;
21) $EDITOR ../../Life-1.02/Source/raw.c raw.c ;;
22) $EDITOR ../../Life-1.02/Source/sys.c sys.c ;;
23) $EDITOR ../../Life-1.02/Source/sys_dbm.c sys_dbm.c ;;
24) $EDITOR ../../Life-1.02/Source/templates.c templates.c ;;
25) $EDITOR ../../Life-1.02/Source/token.c token.c ;;
26) $EDITOR ../../Life-1.02/Source/trees.c trees.c ;;
27) $EDITOR ../../Life-1.02/Source/types.c types.c ;;
28) $EDITOR ../../Life-1.02/Source/xdisplaylist.c xdisplaylist.c ;;
29) $EDITOR ../../Life-1.02/Source/xpred.c xpred.c ;;

777) $EDITOR NOTES_DJD.txt;;

esac
done

