Update run-all-speedtests.sh

This commit is contained in:
2023-05-21 21:57:58 -05:00
parent 11bd3eef15
commit da15b29645

View File

@@ -14,10 +14,10 @@ echo -e "${idsCL[LightGreen]}Run All Local Speedtests${idsCL[Default]}"
echo
test=$(speedtest -L)
array=preg_split("/\r\n|\n|\r/", $test);
test2=(${test//$'\n'/ })
for item in ${array[@]}; do
echo "$item - ${array[$item]}"
for item in ${test2[@]}; do
echo "$item - ${test2[$item]}"
done
exit 0