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:
66ca47c
)
Why not just subtract in AWK?
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 7 Nov 2012 20:28:44 +0000
(15:28 -0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 16 Jun 2013 22:28:43 +0000
(18:28 -0400)
life/001/bin/life
patch
|
blob
|
blame
|
history
diff --git
a/life/001/bin/life
b/life/001/bin/life
index
993ca12
..
fdcf765
100755
(executable)
--- a/
life/001/bin/life
+++ b/
life/001/bin/life
@@
-1,7
+1,7
@@
#! /bin/sh
-Y=`
expr \`stty size | awk '{print $1}'\` - 3`
+Y=`
stty size | awk '{print $1 - 3}'` # Reserve 3 charcters for status bar
X=`stty size | awk '{print $2}'`
NUM_BEAM_PROCESSES=31
This page took
0.02749 seconds
and
4
git commands to generate.