return 1
fi
- echo `grep -e "^$2=" $1 | cut -d = -f 2 | sed -e 's/"//g' -e "s/'//g" | cut -d "#" -f 1 | sort -r | head -n 1`
+ echo "`grep "^$2=" $1 | sed -e "s/^$2='//" -e "s/'$//" | sort -r | head -n 1`"
+
}
\t25 characters long, combining numbers, upper and lower case letters and at
\tleast 5 special characters. Also, no character can be sequentially repeated
\tmore than 4 times." || \
- # LIST_PASSPHRASE="`EvalConfigParameter $LIST_CONFIG_FILE LIST_PASSPHRASE`"
- LIST_PASSPHASE="`grep "^PASSPHRASE=" $LIST_CONFIG_FILE | sed -e "s/^PASSPHRASE='//" -e "s/'$//" | sort -r | head -n 1`"
+ LIST_PASSPHRASE="`EvalConfigParameter $LIST_CONFIG_FILE LIST_PASSPHRASE`"
[ "$1" == "help" ] && echo -e "\nOptional list config parameters\n"
\t instead of sending bounces back to sender" || \
SILENTLY_DISCARD_INVALID_MESSAGES="`EvalConfigParameter $LIST_CONFIG_FILE SILENTLY_DISCARD_INVALID_MESSAGES`"
- [ "$1" == "help" ] && echo -e "\tKEYSERVER= default keyserver to import/export keys\n
+ [ "$1" == "help" ] && echo -e "\tKEYSERVER= default keyserver to import/export keys
\t (defaults to keyserver.noreply.org)" || \
KEYSERVER="`EvalConfigParameter $LIST_CONFIG_FILE KEYSERVER`"