diff options
author | Erich Eckner <git@eckner.net> | 2019-10-29 08:46:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-29 08:46:37 +0100 |
commit | c7b12b60c162d76bd498c75bdf65985a11833a85 (patch) | |
tree | c0e445f59240836150387bbf8f3414e51e48cb0e | |
parent | 669e9b6b475053946601210e806b3f58c8094c16 (diff) | |
download | mailarchive-search-c7b12b60c162d76bd498c75bdf65985a11833a85.tar.xz |
-rwxr-xr-x | mailarchive-search | 2 |
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 ' \ |