From 2a7b3976cd3d8bf6538fd04e65bb8038ab4efc8a Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 14 Nov 2008 01:48:42 +0000 Subject: [PATCH] Updated to 0.5.28 --- inxi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 1be42ad..f16d6dc 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.5.27-b-1-t-3 +#### version: 0.5.28-b-1-t-1 #### Date: November 13 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -1023,7 +1023,7 @@ get_audio_data() A_AUDIO_DATA[$alsa_index]=$( gawk '{ { IGNORECASE=1 } # some alsa strings have the build date in (...) - # alsa remove trailing . + # also remove trailing . gsub( "Driver | [(].*[)]|\.$","",$0 ) gsub(/,/, " ", $0) gsub(/^ +| +$/, "", $0) @@ -1957,7 +1957,6 @@ print_audio_data() fi } - print_cpu_data() { local cpu_data='' i='' cpu_clock_speed='' cpu_multi_clock_data='' @@ -2086,7 +2085,10 @@ print_extras_data() local extras_data='' ip='' if [[ -n $( which lynx ) ]];then - ip=$( lynx -dump techpatterns.com/ip | awk -F 'is: ' '{print $2}' ) + ip=$( lynx -dump techpatterns.com/ip | awk -F 'is: ' '{ + #gsub("\n","",$2") + print $2 + }' ) fi if [[ -z $ip ]];then ip='N/A'