4 ms·
Using the curl'ing tips up this branch of comments I programmed a highly sophisticated script and dropped it on github. :) https://github.com/dougsimmons/301
by d0ugie 11y ago
Using the curl'ing tips up this branch of comments I programmed a highly sophisticated script and dropped it on github. :)
https://github.com/dougsimmons/301debate https://github.com/dougsimmons/301debate
- wangman 11y agoNice! I would have gone for a simpler loop: echo -e "sec\tmethod\turl";for url in {https,http}://{www.,}{en.wikipedia.org,{google,reddit,facebook,youtube,netflix,amazon,twitter,linkedin,msn}.com,google.co.in}; do curl -sL "$url" -w "%{time_redirect}\t${url%:}\t${url#//}\n" -o/dev/null; done|sort
- d0ugie 11y agoWow. Thanks for teaching me that. Yeah, yours is better, I'll lay it on github with a thank you and maybe "embrace and extend" it. Or learn python and port it to python, I could swing it that way.. Cheers.