subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1848407 - /subversion/site/tools/haxx-url-to-message-id.sh
Date Fri, 07 Dec 2018 14:51:49 GMT
Author: danielsh
Date: Fri Dec  7 14:51:48 2018
New Revision: 1848407

URL: http://svn.apache.org/viewvc?rev=1848407&view=rev
Log:
* tools/haxx-url-to-message-id.sh: Pass failure mode options to curl.

Modified:
    subversion/site/tools/haxx-url-to-message-id.sh

Modified: subversion/site/tools/haxx-url-to-message-id.sh
URL: http://svn.apache.org/viewvc/subversion/site/tools/haxx-url-to-message-id.sh?rev=1848407&r1=1848406&r2=1848407&view=diff
==============================================================================
--- subversion/site/tools/haxx-url-to-message-id.sh (original)
+++ subversion/site/tools/haxx-url-to-message-id.sh Fri Dec  7 14:51:48 2018
@@ -15,5 +15,5 @@
 echo "# Message-ids of archived emails that are referenced by a svn.haxx.se URL."
 echo "# Generated by $0 on `date +%Y-%m-%d`"
 grep -hERo 'https?://svn.haxx.se/[a-z0-9-]*/archive-[0-9-]*/[0-9]*\.shtml' "$@" | sort |
uniq | while read -r u; do
-  printf '%s\t' "$u"; curl -sL -- "$u" | perl -lne 's/<!-- id="(.*)" -->/\1/ and print
s/_at_/@/gr'
+  printf '%s\t' "$u"; curl -sSf -L -- "$u" | perl -lne 's/<!-- id="(.*)" -->/\1/ and
print s/_at_/@/gr'
 done



Mime
View raw message