From: Siraaj Khandkar Date: Wed, 7 Nov 2012 20:28:44 +0000 (-0500) Subject: Why not just subtract in AWK? X-Git-Url: https://git.xandkar.net/?p=cellular-automata.git;a=commitdiff_plain;h=223cc9ca1f4cb32eb088f781ac20e90b38bc6fef Why not just subtract in AWK? --- diff --git a/life/001/bin/life b/life/001/bin/life index 993ca12..fdcf765 100755 --- 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