diff --git a/prims.sh b/prims.sh index bff7bc8..d478abb 100644 --- a/prims.sh +++ b/prims.sh @@ -1,14 +1,14 @@ # # module : prims.sh -# version : 1.3 -# date : 04/11/22 +# version : 1.4 +# date : 10/26/23 # # Generate builtin.c and builtin.h # The directory needs to be given as parameter. # echo checking builtin.c and builtin.h todo=0 -ls -1Q $1/src/*.c | sed 's/^/#include /' >prims.tmp +ls $1/src/*.c | sed 's/^/#include "/;s/$/"/' >prims.tmp if [ ! -f $1/builtin.c -o ! -f $1/builtin.h ] then echo creating builtin.c and builtin.h