}
function get_message {
- LINES=0 ; unset MESSAGE
+ LINES=0
while read STDIN; do
MESSAGE[$LINES]="$STDIN\n"
((++LINES))
}
function get_gpg_message {
- signal=0; unset GPG_MESSAGE
+ signal=0
if [ ! -z "$LINES" ]; then
x=0; n=$LINES
for ((count=0;count<=n;count++)); do
# compose and send a message to the list
# $1: subscriber email
# sorry no identation :P
-n=0; unset LIST_MESSAGE
-unset LIST_MESSAGE
+n=0
echo "$PASSWD
Message from: $FROM
Subject: $SUBJECT
function message_list_error {
# compose and send an error message
# sorry no identation :P
-n=0; unset LIST_MESSAGE
+n=0
echo "$PASSWD
Message from: $FROM
Subject: [BAD SIGNATURE] $SUBJECT