From fd376c30093d0d81a9f2f9e78e5f0bbad0d2077b Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 20 May 2013 03:08:05 +0000 Subject: [PATCH] new version, tarball. Bug fix, overly loose regex removed na from country/state/city strings, like nashville. --- inxi | 6 +++--- inxi.changelog | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index a9d77c5..d121d40 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/usr/bin/env bash ######################################################################## #### Script Name: inxi -#### Version: 1.9.5 -#### Date: May 18 2013 +#### Version: 1.9.6 +#### Date: May 19 2013 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -8132,7 +8132,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 } diff --git a/inxi.changelog b/inxi.changelog index f56ce3f..99bf7e4 100755 --- a/inxi.changelog +++ b/inxi.changelog @@ -1,3 +1,16 @@ +===================================================================================== +Version: 1.9.6 +Patch Version: 00 +Script Date: May 19 2013 +----------------------------------- +Changes: +----------------------------------- +new version, tarball. Bug fix, overly loose regex removed na from country/state/city strings, +like nashville. + +----------------------------------- +-- Harald Hope - Sun, 19 May 2013 20:06:44 -0700 + ===================================================================================== Version: 1.9.5 Patch Version: 00