Update run-all-speedtests.sh
This commit is contained in:
@@ -14,10 +14,10 @@ echo -e "${idsCL[LightGreen]}Run All Local Speedtests${idsCL[Default]}"
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
test=$(speedtest -L)
|
test=$(speedtest -L)
|
||||||
array=preg_split("/\r\n|\n|\r/", $test);
|
test2=(${test//$'\n'/ })
|
||||||
|
|
||||||
for item in ${array[@]}; do
|
for item in ${test2[@]}; do
|
||||||
echo "$item - ${array[$item]}"
|
echo "$item - ${test2[$item]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
Reference in New Issue
Block a user