diff options
author | tv <tv@krebsco.de> | 2023-02-02 16:02:01 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-02-02 16:02:01 +0100 |
commit | c2b601d123714f29474a0434555bf90c2ebedbbd (patch) | |
tree | e47979f353120a50465e761f9caa59bbdac47f9c /krebs/3modules | |
parent | 7a2b6a72fa75706dce069f9ec68c39f883dcba18 (diff) |
urlwatch subject: put each url on its own line
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/urlwatch.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/urlwatch.nix b/krebs/3modules/urlwatch.nix index e08289bbc..8ebbdd1f8 100644 --- a/krebs/3modules/urlwatch.nix +++ b/krebs/3modules/urlwatch.nix @@ -177,8 +177,8 @@ let echo Date: $(date -R) echo From: ${shell.escape cfg.from} echo Subject: $( - sed -n 's/^\(CHANGED\|ERROR\|NEW\): //p' changes \ - | tr '\n' ' ' + sed -nr 's/^(CHANGED|ERROR|NEW): //p' changes | + sed '1!s/^ //' ) echo To: ${shell.escape cfg.mailto} echo |