new version, tarball. Bug fix, overly loose regex removed na from country/state/city strings,

like nashville.
This commit is contained in:
inxi-svn 2013-05-20 03:08:05 +00:00
parent 62b72f3472
commit fd376c3009
2 changed files with 16 additions and 3 deletions

6
inxi
View file

@ -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
}

View file

@ -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