5 usage: ./notify senderfile recipientsfile 'message'
7 recipientsfile: see test-recipients for an example
8 see comments in via-* scripts for individual line formats
10 senderinfo: file containing
11 email YOUREMAILADDRESS@EXAMPLE.COM
19 *) usage >&2; exit 1 ;;
27 while read settingname value; do
28 case "$settingname" in
30 *) vn=PIZZANOTIFY_$settingname
31 eval "$vn=\"\$value\""
41 BEGIN { @passon = @ARGV; @ARGV = (); }
46 die unless m/^([a-z]\w+)\s/;
49 defined $child or die $!;
51 exec "./onemethod", $method, @passon;
54 push @children, $child;
56 foreach my $child (@children) {
58 my $got = waitpid $child, 0;
59 die $! unless $got==$child;
60 warn "$method [$child] $?" if $?;