mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
added white space cleanup
This commit is contained in:
parent
a28155b16e
commit
a988de3ba0
1
inxi
1
inxi
|
@ -3271,6 +3271,7 @@ get_graphics_glx_data()
|
||||||
/opengl version/ {
|
/opengl version/ {
|
||||||
# fglrx started appearing with this extra string, does not appear to communicate anything of value
|
# fglrx started appearing with this extra string, does not appear to communicate anything of value
|
||||||
sub(/Compatibility Profile Context/, "", $2 )
|
sub(/Compatibility Profile Context/, "", $2 )
|
||||||
|
gsub(/ [ \t]+/, " ", $2) # get rid of the created white spaces
|
||||||
gsub(/^ +| +$/, "", $2)
|
gsub(/^ +| +$/, "", $2)
|
||||||
$2 && b[$2]
|
$2 && b[$2]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue