From 4c8d81372ace3462ff9ef467eb4ab2377f26109c Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 20 May 2013 03:09:45 +0000 Subject: [PATCH] small code adjustment --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index d121d40..31c8e58 100755 --- a/inxi +++ b/inxi @@ -8168,7 +8168,7 @@ get_weather_data() # some lines might be empty, so ignore those if (data !~ /^<[^>]+>$/ ) { returnData=gensub(/(.*>)([^<]*)(<.*)/, "\\2", 1, data) - gsub(/^[[:space:]]+|[[:space:]]+$|NA|N\/A/, "", returnData) + gsub(/^[[:space:]]+|[[:space:]]+$|^NA$|^N\/A$/, "", returnData) } return returnData }