Update run-all-speedtests.sh

This commit is contained in:
2023-05-21 22:01:25 -05:00
parent 181dd3ae28
commit 1df6104f11

View File

@@ -17,7 +17,8 @@ test=$(speedtest -L)
test2=(${test//$'\n'/ })
for item in ${!test2[@]}; do
echo "$item - ${test2[$item]}"
re='^[[:digit:]]{4,6}$'
[[ ${test2[$item]} =~ $re ]] && echo "$item - ${test2[$item]}"
done
exit 0