rest of the last commit

This commit is contained in:
Wolfgang Hottgenroth
2016-10-21 16:26:48 +02:00
parent 651ee903b3
commit b429bebe94
3 changed files with 285 additions and 0 deletions

14
tools/insertMyCode.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
if [ ! -f main.c ]; then
echo "no main.c available"
exit 1
fi
if [ -f main.c-bak ]; then
echo "main.c-bak already available, delete manually"
exit 1
fi
mv main.c main.c-bak
cat main.c-bak | ../tools/insertMyCode.pl > main.c