home
/
code
/
cellular-automata.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Converted to OTP app.
[cellular-automata.git]
/
001
/
bin
/
life
diff --git a/001/bin/life
b/001/bin/life
new file mode 100755
(executable)
index 0000000..
87edae8
--- /dev/null
+++ b/
001/bin/life
@@ -0,0
+1,12
@@
+#! /bin/sh
+
+
+Y=`expr \`stty size | awk '{print $1}'\` - 3`
+X=`stty size | awk '{print $2}'`
+
+
+erl \
+ -noshell \
+ -pa ebin \
+ -life x $X y $Y \
+ -s life bang
This page took
0.020414 seconds
and
4
git commands to generate.