mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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 = " "
|
separator = " "
|
||||||
}
|
}
|
||||||
if ( $2 != "" ){
|
if ( $2 != "" ){
|
||||||
print string ",USB Audio,,," $2 "-" $4
|
print string ",USB Audio,,," $2 "-" sub(/:/,"", $4)
|
||||||
}
|
}
|
||||||
}' <<< "$usb_data" )
|
}' <<< "$usb_data" )
|
||||||
fi
|
fi
|
||||||
|
@ -4967,7 +4967,7 @@ get_networking_usb_data()
|
||||||
separator = " "
|
separator = " "
|
||||||
}
|
}
|
||||||
if ( $2 != "" ){
|
if ( $2 != "" ){
|
||||||
print string ",,,,usb-" $2 "-" $4
|
print string ",,,,usb-" $2 "-" sub(/:/, "", $4 )
|
||||||
}
|
}
|
||||||
}' <<< "$lsusb_data"
|
}' <<< "$lsusb_data"
|
||||||
) )
|
) )
|
||||||
|
|
Loading…
Reference in a new issue