diff --git a/inxi b/inxi index c3a1dba..5a6da78 100755 --- a/inxi +++ b/inxi @@ -491,7 +491,7 @@ if [[ -n $( type -p tput ) ]];then COLUMNS=$(tput cols) fi # double check, just in case it's missing functionality or whatever -if [[ -z $( grep -E '^[0-9]+$' <<< $COLUMNS ) ]];then +if [[ -z ${COLUMNS##[0-9]*} ]];then LINES=100 COLUMNS=80 fi