trying another array way

This commit is contained in:
inxi-svn 2011-04-30 07:23:43 +00:00
parent 41dbd23c9d
commit e4924fc44b

2
inxi
View file

@ -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"