1while read line; do 2for i in `seq 1 $1`; do 3curl -L -silent -w "\nCurl URL %{url_effective}, HTTP status %{http_code}, Downloaded %{size_download} bytes, Total time %{time_total} secs\n" ${line} | grep -E '( [Ee]rror| [Pp]roblem|Curl)' 4done 5done 6 7