3 ms·
and on the off-chance that `stuff` must be a space-separated string for w/e reason: IFS=' ' read -ra routes <<<"${stuff}" for route in "${routes[@]}"; do
by cjvirtucio 5y ago
and on the off-chance that `stuff` must be a space-separated string for w/e reason:
IFS=' ' read -ra routes <<<"${stuff}"
for route in "${routes[@]}"; do
curl localhost:8080/"$route"
done