mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
output cleanup
This commit is contained in:
parent
2afc2495f1
commit
6658d489a2
4
inxi
4
inxi
|
@ -2921,7 +2921,7 @@ get_audio_usb_data()
|
|||
separator = " "
|
||||
}
|
||||
if ( $2 != "" ){
|
||||
print string ",USB Audio,,," $2 "-" $4
|
||||
print string ",USB Audio,,," $2 "-" sub(/:/,"", $4)
|
||||
}
|
||||
}' <<< "$usb_data" )
|
||||
fi
|
||||
|
@ -4967,7 +4967,7 @@ get_networking_usb_data()
|
|||
separator = " "
|
||||
}
|
||||
if ( $2 != "" ){
|
||||
print string ",,,,usb-" $2 "-" $4
|
||||
print string ",,,,usb-" $2 "-" sub(/:/, "", $4 )
|
||||
}
|
||||
}' <<< "$lsusb_data"
|
||||
) )
|
||||
|
|
Loading…
Reference in a new issue