Show overview: http://www.imdb.com/title/tt3322312/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# oneliner | |
for link in $(curl https://dribbble.com/jobs.rss | grep link | cut -d'>' -f2 | cut -d'<' -f1); do echo $link; curl -I --location $link | grep -E '(Location|HTTP)' | cut -d' ' -f2; echo "--------------------"; done | |
# expanded | |
for link in $(curl https://dribbble.com/jobs.rss | grep link | cut -d'>' -f2 | cut -d'<' -f1); # cut the URL out of "<link>http://example.com</link>" from our jobs RSS feed | |
do echo $link # print it | |
curl -I --location $link | grep -E '(Location|HTTP)' | cut -d' ' -f2 # get the URL, follow any redirects, and print out each redirect and the ending HTTP status code | |
echo "--------------------" | |
done |
OlderNewer