=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== biabam-0.9.7/debian/patches/01_check_empty_recipients.patch-12-+ #clean biabam-0.9.7/debian/patches/01_check_empty_recipients.patch:13:+ for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/debian/patches/01_check_empty_recipients.patch-14-+ /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/debian/patches/01_check_empty_recipients.patch-21- biabam-0.9.7/debian/patches/01_check_empty_recipients.patch:22: for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/debian/patches/01_check_empty_recipients.patch-23- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/debian/patches/02_accept_space_in_filename.patch-6- biabam-0.9.7/debian/patches/02_accept_space_in_filename.patch:7: for i in `seq 1 $TOTAL_ATTACHMENTS`; biabam-0.9.7/debian/patches/02_accept_space_in_filename.patch-8- do ############################################## biabam-0.9.7/debian/patches/02_accept_space_in_filename.patch-10- # store filenames in an array biabam-0.9.7/debian/patches/02_accept_space_in_filename.patch:11:- ARR_ATTACHMENTS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/debian/patches/02_accept_space_in_filename.patch-12-+ ARR_ATTACHMENTS[$i]=$(echo "$1" | awk -F$SP '{print $'$i'}' ) ############################################## biabam-0.9.7/debian/patches/04_better_Message-ID_and_To.patch-8- biabam-0.9.7/debian/patches/04_better_Message-ID_and_To.patch:9: for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/debian/patches/04_better_Message-ID_and_To.patch-10- # write the 'To:' field with all recipients previously stored in the array ############################################## biabam-0.9.7/debian/patches/05_accept_subject_in_first_position.patch-15- # Find out the number of files to attach biabam-0.9.7/debian/patches/05_accept_subject_in_first_position.patch:16: TOTAL_ATTACHMENTS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/debian/patches/05_accept_subject_in_first_position.patch-17- ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-41-# Find out the number of files to attach biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:42:TOTAL_ATTACHMENTS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-43- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:44:for i in `seq 1 $TOTAL_ATTACHMENTS`; biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-45-do ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-47- # store filenames in an array biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:48: ARR_ATTACHMENTS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-49-done ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-55- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:56:BASETEMP="`basename $TEMPFILE`" biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-57- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:58:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-59- # array for attachments basename biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:60: BASEATTACHMENT[$i]="`basename \"${ARR_ATTACHMENTS[$i]}\"`" biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-61- # test if file exists ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-74- if which file > /dev/null ; then biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:75: MIME=`file -bi -- "${ARR_ATTACHMENTS[$i]}"` biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-76- MIME=${MIME/,*;/;} ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-97-# Find out the number of recipients to send the email biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:98:TOTAL_EMAILS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-99- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:100:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-101- STR="'{print \$$i}'" biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-102- # store recipients in an array biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:103: ARR_EMAILS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-104-done ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-107- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:108:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-109- # write the 'To:' field with all recipients previously stored in the array ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-131- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:132:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-133- echo "--$BOUNDARY" >> $TEMPFILE ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-145- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:146:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-147- # put all recipients together to call sendmail below ############################################## biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-152- biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam:153:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/01_check_empty_recipients.patch/biabam-154- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-41-# Find out the number of files to attach biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:42:TOTAL_ATTACHMENTS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-43- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:44:for i in `seq 1 $TOTAL_ATTACHMENTS`; biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-45-do ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-47- # store filenames in an array biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:48: ARR_ATTACHMENTS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-49-done ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-55- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:56:BASETEMP="`basename $TEMPFILE`" biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-57- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:58:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-59- # array for attachments basename biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:60: BASEATTACHMENT[$i]="`basename \"${ARR_ATTACHMENTS[$i]}\"`" biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-61- # test if file exists ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-74- if which file > /dev/null ; then biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:75: MIME=`file -bi -- "${ARR_ATTACHMENTS[$i]}"` biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-76- MIME=${MIME/,*;/;} ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-97-# Find out the number of recipients to send the email biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:98:TOTAL_EMAILS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-99- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:100:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-101- STR="'{print \$$i}'" biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-102- # store recipients in an array biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:103: ARR_EMAILS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-104-done ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-107- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:108:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-109- # write the 'To:' field with all recipients previously stored in the array ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-131- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:132:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-133- echo "--$BOUNDARY" >> $TEMPFILE ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-145- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:146:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-147- # put all recipients together to call sendmail below ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-153- #clean biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:154: for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-155- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-162- biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam:163:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/02_accept_space_in_filename.patch/biabam-164- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-41-# Find out the number of files to attach biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:42:TOTAL_ATTACHMENTS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-43- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:44:for i in `seq 1 $TOTAL_ATTACHMENTS`; biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-45-do ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-54- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:55:BASETEMP="`basename $TEMPFILE`" biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-56- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:57:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-58- # array for attachments basename biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:59: BASEATTACHMENT[$i]="`basename \"${ARR_ATTACHMENTS[$i]}\"`" biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-60- # test if file exists ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-73- if which file > /dev/null ; then biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:74: MIME=`file -bi -- "${ARR_ATTACHMENTS[$i]}"` biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-75- MIME=${MIME/,*;/;} ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-96-# Find out the number of recipients to send the email biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:97:TOTAL_EMAILS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-98- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:99:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-100- STR="'{print \$$i}'" biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-101- # store recipients in an array biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:102: ARR_EMAILS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-103-done ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-106- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:107:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-108- # write the 'To:' field with all recipients previously stored in the array ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-130- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:131:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-132- echo "--$BOUNDARY" >> $TEMPFILE ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-144- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:145:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-146- # put all recipients together to call sendmail below ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-152- #clean biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:153: for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-154- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-161- biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam:162:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/03_accept_period_in_body.patch/biabam-163- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-41-# Find out the number of files to attach biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:42:TOTAL_ATTACHMENTS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-43- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:44:for i in `seq 1 $TOTAL_ATTACHMENTS`; biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-45-do ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-54- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:55:BASETEMP="`basename $TEMPFILE`" biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-56- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:57:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-58- # array for attachments basename biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:59: BASEATTACHMENT[$i]="`basename \"${ARR_ATTACHMENTS[$i]}\"`" biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-60- # test if file exists ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-73- if which file > /dev/null ; then biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:74: MIME=`file -bi -- "${ARR_ATTACHMENTS[$i]}"` biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-75- MIME=${MIME/,*;/;} ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-96-# Find out the number of recipients to send the email biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:97:TOTAL_EMAILS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-98- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:99:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-100- STR="'{print \$$i}'" biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-101- # store recipients in an array biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:102: ARR_EMAILS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-103-done ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-106- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:107:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-108- # write the 'To:' field with all recipients previously stored in the array ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-130- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:131:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-132- echo "--$BOUNDARY" >> $TEMPFILE ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-144- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:145:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-146- # put all recipients together to call sendmail below ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-152- #clean biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:153: for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-154- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-161- biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam:162:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/04_better_Message-ID_and_To.patch/biabam-163- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-41-# Find out the number of files to attach biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:42:TOTAL_ATTACHMENTS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-43- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:44:for i in `seq 1 $TOTAL_ATTACHMENTS`; biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-45-do ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-54- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:55:BASETEMP="`basename $TEMPFILE`" biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-56- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:57:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-58- # array for attachments basename biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:59: BASEATTACHMENT[$i]="`basename \"${ARR_ATTACHMENTS[$i]}\"`" biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-60- # test if file exists ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-73- if which file > /dev/null ; then biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:74: MIME=`file -bi -- "${ARR_ATTACHMENTS[$i]}"` biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-75- MIME=${MIME/,*;/;} ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-96-# Find out the number of recipients to send the email biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:97:TOTAL_EMAILS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-98- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:99:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-100- STR="'{print \$$i}'" biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-101- # store recipients in an array biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:102: ARR_EMAILS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-103-done ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-106- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:107:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-108- # write the 'To:' field with all recipients previously stored in the array ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-132- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:133:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-134- echo "--$BOUNDARY" >> $TEMPFILE ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-146- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:147:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-148- # put all recipients together to call sendmail below ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-154- #clean biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:155: for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-156- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-163- biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam:164:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/.pc/05_accept_subject_in_first_position.patch/biabam-165- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/biabam-49-# Find out the number of files to attach biabam-0.9.7/biabam:50:TOTAL_ATTACHMENTS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/biabam-51- biabam-0.9.7/biabam:52:for i in `seq 1 $TOTAL_ATTACHMENTS`; biabam-0.9.7/biabam-53-do ############################################## biabam-0.9.7/biabam-62- biabam-0.9.7/biabam:63:BASETEMP="`basename $TEMPFILE`" biabam-0.9.7/biabam-64- biabam-0.9.7/biabam:65:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/biabam-66- # array for attachments basename biabam-0.9.7/biabam:67: BASEATTACHMENT[$i]="`basename \"${ARR_ATTACHMENTS[$i]}\"`" biabam-0.9.7/biabam-68- # test if file exists ############################################## biabam-0.9.7/biabam-81- if which file > /dev/null ; then biabam-0.9.7/biabam:82: MIME=`file -bi -- "${ARR_ATTACHMENTS[$i]}"` biabam-0.9.7/biabam-83- MIME=${MIME/,*;/;} ############################################## biabam-0.9.7/biabam-103-# Find out the number of recipients to send the email biabam-0.9.7/biabam:104:TOTAL_EMAILS=`echo "$1" | awk -F$SP '{print NF}'` biabam-0.9.7/biabam-105- biabam-0.9.7/biabam:106:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/biabam-107- STR="'{print \$$i}'" biabam-0.9.7/biabam-108- # store recipients in an array biabam-0.9.7/biabam:109: ARR_EMAILS[$i]=`sh -c "echo "$1" | awk -F$SP $STR" ` biabam-0.9.7/biabam-110-done ############################################## biabam-0.9.7/biabam-113- biabam-0.9.7/biabam:114:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/biabam-115- # write the 'To:' field with all recipients previously stored in the array ############################################## biabam-0.9.7/biabam-139- biabam-0.9.7/biabam:140:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/biabam-141- echo "--$BOUNDARY" >> $TEMPFILE ############################################## biabam-0.9.7/biabam-153- biabam-0.9.7/biabam:154:for i in `seq 1 $TOTAL_EMAILS`; do biabam-0.9.7/biabam-155- # put all recipients together to call sendmail below ############################################## biabam-0.9.7/biabam-161- #clean biabam-0.9.7/biabam:162: for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/biabam-163- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created ############################################## biabam-0.9.7/biabam-170- biabam-0.9.7/biabam:171:for i in `seq 1 $TOTAL_ATTACHMENTS`; do biabam-0.9.7/biabam-172- /bin/rm -f ${TEMPUUENCODED[$i]} # remove all temp files created