From 6e93c0b5b22d7506b77e9db9a9d0b030ac3d1c8e Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Wed, 26 Sep 2007 08:35:39 +0000 Subject: [PATCH] Handle COLUMNS and/or LINES being unset. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@71 6be0d1a5-5cfe-0310-89b6-964be062b18b --- usize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usize b/usize index ec2b25d..73b0346 100755 --- a/usize +++ b/usize @@ -7,8 +7,8 @@ # Usage: usize [] # -width=$COLUMNS -height=$LINES +width=${COLUMNS:-80} +height=${LINES:-24} case $# in 0) -- 2.20.1