mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
output tweaks
This commit is contained in:
parent
3991b6efa1
commit
52829c43c7
5
inxi
5
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.5.27-b-1-t-2
|
||||
#### version: 0.5.27-b-1-t-3
|
||||
#### Date: November 13 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
||||
|
@ -1023,7 +1023,8 @@ get_audio_data()
|
|||
A_AUDIO_DATA[$alsa_index]=$( gawk '{
|
||||
{ IGNORECASE=1 }
|
||||
# some alsa strings have the build date in (...)
|
||||
gsub( "Driver | [(].*[)]","",$0 )
|
||||
# alsa remove trailing .
|
||||
gsub( "Driver | [(].*[)]|\.$","",$0 )
|
||||
gsub(/,/, " ", $0)
|
||||
gsub(/^ +| +$/, "", $0)
|
||||
gsub(/ [ \t]+/, " ", $0)
|
||||
|
|
Loading…
Reference in a new issue