Author: danielsh
Date: Fri Dec  7 14:49:51 2018
New Revision: 1848406

URL: http://svn.apache.org/viewvc?rev=1848406&view=rev
Log:
* tools/haxx-url-to-message-id.sh: Wrap long line.

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=1848406&r1=1848405&r2=1848406&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:49:51 2018
@@ -14,4 +14,6 @@
 #
 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'; done
+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'
+done


Reply via email to