From bd83f3ea229ab9cf4453601604255414ded54281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 26 Aug 2015 18:49:53 -0700 Subject: [PATCH] google-code-moved: shuffle lines This way we get the results don't pile at the end --- tools/google-code-moved.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/google-code-moved.sh b/tools/google-code-moved.sh index 3c4d4562a7..a24a4b6572 100755 --- a/tools/google-code-moved.sh +++ b/tools/google-code-moved.sh @@ -5,7 +5,7 @@ set -e -sed -n 's@Source Code:\(.*code\.google\.com.*/source\)@\1@p' metadata/*.txt | sort -u | while read url; do +sed -n 's@Source Code:\(.*code\.google\.com.*/source\)@\1@p' metadata/*.txt | sort -u | shuf | while read url; do echo $url found=$(curl -s $url/checkout | sed -n 's/.*here<\/A>.*/\1/p')