mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
trying another array way
This commit is contained in:
parent
41dbd23c9d
commit
e4924fc44b
2
inxi
2
inxi
|
@ -3329,7 +3329,7 @@ get_networking_data()
|
||||||
}' <<< "$card_data" )
|
}' <<< "$card_data" )
|
||||||
|
|
||||||
if [[ -n $array_string ]];then
|
if [[ -n $array_string ]];then
|
||||||
IFS=$'\n'
|
IFS=","
|
||||||
array_count=${#A_AUDIO_DATA[@]}
|
array_count=${#A_AUDIO_DATA[@]}
|
||||||
A_NETWORK_DATA[$array_count]="$array_string"
|
A_NETWORK_DATA[$array_count]="$array_string"
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
|
|
Loading…
Reference in a new issue