restore missing 1989/fubar/fubar.sh

This commit is contained in:
Landon Curt Noll committed 2023-02-21 17:54:47 -08:00
1 parent 4ac9b35895
commit 880172e2f4
1 file changed
+19
View File
@@ -0,0 +1,19 @@
:
# to run fubar in the 'proper' way
# parse args
if [ $# -ne 1 ]; then
echo "usage: $0 number" 1>&2
exit 1
fi
# run/compile it
rm -f ouroboros.c x1 x
ex - <<EOF
r fubar.c
7,8j
w ouroboros.c
EOF
chmod +x ouroboros.c
ouroboros.c $1
rm -f ouroboros.c x1 x