From d172596a5dda91353beb732ba3f45279aeec9f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Fri, 13 Jan 2023 17:08:11 +0100 Subject: [PATCH] same remove special char in filterTest.sh --- src/bash/filterTest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bash/filterTest.sh b/src/bash/filterTest.sh index 85331dc..fe9275f 100755 --- a/src/bash/filterTest.sh +++ b/src/bash/filterTest.sh @@ -164,7 +164,7 @@ cat "${TMP_DIR}/PJ-name.txt" | { continue fi LOG " - ${BLUE}find ${ATTACH_NAME} / (${ATTACH_CONTENT_TYPE}) / ${ATTACH_MEDIA} ${NC}" - PASSWORD=$(apg -n 1 -m 12) + PASSWORD=$(apg -n 1 -m 12 -M cln) PASSWORD_MD5=$(echo -n ${PASSWORD} | ${MD5_CMD} | cut -d \ -f 1) curlJirafeauSend "month" "${ATTACH_MEDIA}" "${ATTACH_CONTENT_TYPE}" "${ATTACH_NAME}" "${PASSWORD}" 2>> "${TTY}" > "${TMP_DIR}/one.txt" @@ -187,7 +187,7 @@ cat "${TMP_DIR}/PJ-name.txt" | { done NB_ATTACH=$(grep -e "^old: " -e "^new: " "${TMP_DIR}/archive-content.txt" | wc -l) if [ "${NB_ATTACH}" -gt 1 ]; then - PASSWORD=$(apg -n 1 -m 12) + PASSWORD=$(apg -n 1 -m 12 -M cln) PASSWORD_MD5=$(echo -n ${PASSWORD} | ${MD5_CMD} | cut -d \ -f 1) curlJirafeauSend "month" "${TMP_DIR}/archive-content.txt" "text/kaz_email_archive" "archive_content" "${PASSWORD}" 2>> "${TTY}" > "${TMP_DIR}/one.txt" cat "${TMP_DIR}/one.txt" | {