diff --git a/scripts/wr b/scripts/wr new file mode 100644 index 0000000..b0b2c46 --- /dev/null +++ b/scripts/wr @@ -0,0 +1,5 @@ +while read p; do + x=$(curl -o /dev/null -s -w "%{http_code}\n" $p/$1) + [[ $x == 200 ]] && curl -s $(curl -s $p/$1) | vim - + exit +done < ~/.wr.txt