Further improvements to 2000/tomx/try scripts
Updated .gitignore as the scripts now generate two new files.
This commit is contained in:
1 parent
0b749d500b
commit
1c81a68aa9
3 files changed
+37
-20
No files matched your search
+26
-11
@@ -15,34 +15,49 @@ make CC="$CC" alt >/dev/null || exit 1
|
||||
# clear screen after compilation so that only the entry is shown
|
||||
clear
|
||||
|
||||
echo "Using tomx.alt.c to compile mkentry.c directly:" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: rm -v -f mkentry: "
|
||||
echo 1>&2
|
||||
rm -v -f mkentry
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: chmod +x tomx.alt.c: "
|
||||
echo 1>&2
|
||||
chmod +x tomx.alt.c
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: rm -vf mkentry: "
|
||||
echo 1>&2
|
||||
rm -vf mkentry
|
||||
echo 1>&2
|
||||
|
||||
echo "Using tomx.alt.c as an executable to compile mkentry.c directly:" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: ./tomx.alt.c: "
|
||||
echo 1>&2
|
||||
./tomx.alt.c
|
||||
echo 1>&2
|
||||
|
||||
echo "Using tomx.alt.c as a Makefile to compile mkentry.c:" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: rm -vf mkentry: "
|
||||
read -r -n 1 -p "Press any key to run: ./mkentry -h | tee mkentry.help.txt: "
|
||||
echo 1>&2
|
||||
rm -vf mkentry
|
||||
./mkentry | tee mkentry.help.txt
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: rm -v -f mkentry: "
|
||||
echo 1>&2
|
||||
rm -v -f mkentry
|
||||
echo 1>&2
|
||||
|
||||
echo "Using tomx.alt.c as a Makefile to compile mkentry.c:" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: make -f tomx.alt.c: "
|
||||
echo 1>&2
|
||||
make -f tomx.alt.c
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: ./tomx.alt: "
|
||||
echo 1>&2
|
||||
./tomx.alt
|
||||
read -r -n 1 -p "Press any key to run: ./tomx.alt (mkentry compiled from tomx.alt.c): "
|
||||
echo 1>&2
|
||||
./tomx.alt | tee tomx.help.txt
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to run: diff -s mkentry.help.txt tomx.help.txt: "
|
||||
echo 1>&2
|
||||
diff -s mkentry.help.txt tomx.help.txt
|
||||
echo 1>&2
|
||||
|
||||
read -r -n 1 -p "Press any key to remove mkentry.help.txt and tomx.help.txt: "
|
||||
echo 1>&2
|
||||
rm -v -f mkentry.help.txt tomx.help.txt
|
||||
Reference in new issue
Block a user