From c7b12b60c162d76bd498c75bdf65985a11833a85 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 29 Oct 2019 08:46:37 +0100 Subject: mailarchive-search: download uncompressed archives, too --- mailarchive-search | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' \ -- cgit v1.2.3-70-g09d2