From 10f94c950f4fea2a40baf467f591ccdc83b2cfcd Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 18 Feb 2009 06:57:28 +0000 Subject: [PATCH] small bug fix in awk, now will output whole usb line --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index caed8c7..dc994e2 100755 --- a/inxi +++ b/inxi @@ -1405,7 +1405,7 @@ get_audio_data() usb_data=$( lsusb -v 2>/dev/null | grep "$usb_id" ) usb_data=$( gawk '{ gsub( /,/, " ", $0 ) - for( i=7; i < NF; i++ ) { + for( i=7; i <= NF; i++ ) { printf( $i " " ) } }' <<< "$usb_data" )