Start script. Sets size of the board to match terminal.
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 22 Jul 2012 05:10:56 +0000 (01:10 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 22 Jul 2012 05:10:56 +0000 (01:10 -0400)
001/life [new file with mode: 0755]

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.