8 curl
-D $TMP "$URL" > /dev
/null
9 URL
=$
(sed -n 's/^Location: //p' < $TMP |
tr -d '\r\n');;
10 http
://thread.
*) URL
=http
://article.
${URL#http://thread.};;
11 http
://*|article.gmane.org
*) ;;
14 curl
-D $TMP http
://mid.gmane.org
/$1 > /dev
/null
15 URL
=$
(sed -n 's/^Location: //p' < $TMP |
tr -d '\r\n');;
16 *) URL
=http
://article.gmane.org
/gmane.comp.version-control.msysgit
/$1;;
24 curl
$URL | git am
--whitespace=fix
-s