mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
some more awk cleanup
This commit is contained in:
parent
b5bffea71f
commit
32a9957109
3
inxi
3
inxi
|
@ -1194,7 +1194,8 @@ get_networking_data()
|
|||
gsub(/davicom semiconductor/, "Davicom", nic)
|
||||
gsub(/,/," ", nic)
|
||||
gsub(/'"$A_NORMAL_BANS"'/, "", nic)
|
||||
gsub(/ [ ]+/," ", nic); gsub(/^ +| +$/,"", nic)
|
||||
gsub(/ [ ]+/," ", nic)
|
||||
gsub(/^ +| +$/,"", nic)
|
||||
# The doublequotes above are necessary because of the pipes in the variable.
|
||||
eth[nic]++
|
||||
while (getline && !/^$/) {
|
||||
|
|
Loading…
Reference in a new issue