diff --git a/run-all-speedtests.sh b/run-all-speedtests.sh index 2b91837..8a18b99 100755 --- a/run-all-speedtests.sh +++ b/run-all-speedtests.sh @@ -13,8 +13,9 @@ echo echo -e "${idsCL[LightGreen]}Run All Local Speedtests${idsCL[Default]}" echo -test=($(speedtest -L)) +test=$(speedtest -L) +array = preg_split("/\r\n|\n|\r/", $test); -printf "'%s’\n" "${test[@]}" +printf "'%s’\n" "${array[@]}" exit 0 \ No newline at end of file