From 223cc9ca1f4cb32eb088f781ac20e90b38bc6fef Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 7 Nov 2012 15:28:44 -0500 Subject: [PATCH] Why not just subtract in AWK? --- life/001/bin/life | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1