Why not just subtract in AWK?
[cellular-automata.git] / 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.02696 seconds and 4 git commands to generate.