restore missing 1989/fubar/fubar.sh
This commit is contained in:
1 parent
4ac9b35895
commit
880172e2f4
1 file changed
@@ -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
|
||||
Reference in new issue
Block a user