summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-29 08:46:37 +0100
committerErich Eckner <git@eckner.net>2019-10-29 08:46:37 +0100
commitc7b12b60c162d76bd498c75bdf65985a11833a85 (patch)
treec0e445f59240836150387bbf8f3414e51e48cb0e
parent669e9b6b475053946601210e806b3f58c8094c16 (diff)
downloadmailarchive-search-c7b12b60c162d76bd498c75bdf65985a11833a85.tar.xz
mailarchive-search: download uncompressed archives, tooHEADmaster
-rwxr-xr-xmailarchive-search2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailarchive-search b/mailarchive-search
index 36033fa..1edeb39 100755
--- a/mailarchive-search
+++ b/mailarchive-search
@@ -15,7 +15,7 @@ fi
curl -L -o "${dir}/#1" "$(
curl -LSs "${url}" \
| sed '
- s@^.*href="\([0-9]\+-[a-zA-Z]\+\.txt\.gz\)\">.*$@\1@
+ s@^.*href="\([0-9]\+-[a-zA-Z]\+\.txt\(\.gz\)\?\)\">.*$@\1@
t
d
' \