diff --git a/inxi b/inxi index 0f923f7..b944c51 100755 --- a/inxi +++ b/inxi @@ -2,8 +2,8 @@ ######################################################################## #### Script Name: inxi #### version: 1.8.19 -#### Date: October 3 2012 -#### Patch Number: 00 +#### Date: October 18 2012 +#### Patch Number: 01 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -2921,7 +2921,8 @@ get_audio_usb_data() separator = " " } if ( $2 != "" ){ - print string ",USB Audio,,," $2 "-" sub(/:/,"", $4) + sub(/:/,"", $4) + print string ",USB Audio,,," $2 "-" $4 } }' <<< "$usb_data" ) fi @@ -4962,12 +4963,14 @@ get_networking_usb_data() sub(/realtek semiconductor/, "Realtek", $0) sub(/davicom semiconductor/, "Davicom", $0) sub(/Belkin Components/, "Belkin", $0) + for ( i=7; i<= NF; i++ ) { string = string separator $i separator = " " } if ( $2 != "" ){ - print string ",,,,usb-" $2 "-" sub(/:/, "", $4 ) + sub(/:/, "", $4 ) + print string ",,,,usb-" $2 "-" $4 } }' <<< "$lsusb_data" ) )