home
/
code
/
cellular-automata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
156f5e4
)
Start script. Sets size of the board to match terminal.
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 22 Jul 2012 05:10:56 +0000
(
01:10
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 22 Jul 2012 05:10:56 +0000
(
01:10
-0400)
001/life
[new file with mode: 0755]
patch
|
blob
diff --git a/001/life
b/001/life
new file mode 100755
(executable)
index 0000000..
d653da0
--- /dev/null
+++ b/
001/life
@@ -0,0
+1,9
@@
+#! /bin/sh
+
+
+Y=`expr \`stty size | awk '{print $1}'\` - 3`
+X=`stty size | awk '{print $2}'`
+
+
+erlc life.erl
+erl -noshell -s life bang $X $Y
This page took
0.029707 seconds
and
4
git commands to generate.