urlwatch subject: put each url on its own line
This commit is contained in:
parent
7a2b6a72fa
commit
c2b601d123
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user