Why not just subtract in AWK?
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 7 Nov 2012 20:28:44 +0000 (15:28 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 16 Jun 2013 22:28:43 +0000 (18:28 -0400)
life/001/bin/life

index 993ca12..fdcf765 100755 (executable)
@@ -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.