summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
' \