chiark
/
gitweb
/
~ianmdlvl
/
post-pizza-notify.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
34b1d7fb42282549692e6c3a3cb8648e20759c6d
[post-pizza-notify.git]
/
via-email
1
#!/bin/bash
2
msg="$1"; shift
3
rcpts="$*";
4
ssh -vt ijackson@tunnel.chiark.greenend.org.uk \
5
/usr/lib/sendmail -oem -odb -oi -t <<END
6
To: ${rcpts// /, }
7
Subject: $msg
8
User-Agent: post-pizza notification robot
9
10
$msg
11
12
--
13
$PIZZANOTIFY_name using the post-pizza notify.git script
14
END