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 Date: $(date -R)
|
||||||
echo From: ${shell.escape cfg.from}
|
echo From: ${shell.escape cfg.from}
|
||||||
echo Subject: $(
|
echo Subject: $(
|
||||||
sed -n 's/^\(CHANGED\|ERROR\|NEW\): //p' changes \
|
sed -nr 's/^(CHANGED|ERROR|NEW): //p' changes |
|
||||||
| tr '\n' ' '
|
sed '1!s/^ //'
|
||||||
)
|
)
|
||||||
echo To: ${shell.escape cfg.mailto}
|
echo To: ${shell.escape cfg.mailto}
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user