|
@@ -37,11 +37,11 @@ for group in cropswap cropswap-members; do
|
|
|
|
|
|
declare -A SIGNUP=()
|
|
|
mapfile -t -c 2 -C update_signup contacts < <(find ${form_dir} -type f -name "*.txt" -exec awk -F ":" '
|
|
|
-/Name:/ { print substr($2,2) OFS }
|
|
|
-/Email:/ { print substr($2,2) OFS }
|
|
|
+/Name:/ { print substr($2,2) }
|
|
|
+/Email:/ { print substr($2,2) }
|
|
|
' {} \;)
|
|
|
|
|
|
for email in "${!SIGNUP[@]}"; do
|
|
|
- echo "${SCRIPTDIR}/cropswap-register.sh" "${group}@shandan.one" "${SIGNUP["$email"]}" "$email" NONE
|
|
|
+ "${SCRIPTDIR}/cropswap-register.sh" "${group}@shandan.one" "${SIGNUP["$email"]}" "$email" NONE
|
|
|
done
|
|
|
done
|