diff --git a/inxi b/inxi index c5a36b9..9abeea9 100755 --- a/inxi +++ b/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 && !/^$/) {