diff --git a/bin/last/build/gc-inc.sh b/bin/last/build/gc-inc.sh new file mode 100755 index 0000000..f1034aa --- /dev/null +++ b/bin/last/build/gc-inc.sh @@ -0,0 +1,20 @@ +#! /bin/sh + +# This generates source code from genetic codes. + +cat < 1 && length($1) == 1' $i | sed 's/^/ /' + echo + if [ $(awk '!/^#/ && length($1) > 1 || NF == 1' $i | wc -w) = 1 ] + then echo And this pattern:: + else echo And these patterns:: + fi + echo + awk '!/^#/ && length($1) > 1 || NF == 1' $i | sed 's/^/ /' + echo + grep -q '^#lastdb' $i && { + echo It sets this lastdb default: + grep '^#lastdb' $i | cut -d' ' -f2- + echo + } + grep -q '^#lastal' $i && { + echo It sets this lastal default: + grep '^#lastal' $i | cut -d' ' -f2- + echo + } +done + +exit 0 diff --git a/bin/last/build/seed-inc.sh b/bin/last/build/seed-inc.sh new file mode 100755 index 0000000..b8f250e --- /dev/null +++ b/bin/last/build/seed-inc.sh @@ -0,0 +1,33 @@ +#! /bin/sh + +# This generates source code from subset seeds. + +cat <