This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

BUG: bash-3.2.15


Hello,

I'm using the last version of cygwin (1.5.24-2).
I just meet a problem with the last bash (3.2.15). Here is the result of a test script:
When I use the command email instead of echo in the test script, email complains about a malformed command line ...


---------------------------

Bash-3.2.15

Email send to
< MailSDA.txt' ' -f yann.collette@renault.com -s 'Rappel SDA' -r wsmtp.renault.fr
Email send to
email -header ' ' -f yann.collette@renault.com -s 'Rappel SDA - Liste du personnel' -r wsmtp.renault.fr Chantal.Zeender@
renault.com < tmp_68240.txt


Bash-3.1.6

Email send to michel.rooy@renault.com
email -header ' ' -f yann.collette@renault.com -s 'Rappel SDA' -r wsmtp.renault.fr georges.huddlestone@renault.com < Mai
lSDA.txt
Email send to georges.huddlestone@renault.com
email -header ' ' -f yann.collette@renault.com -s 'Rappel SDA - Liste du personnel' -r wsmtp.renault.fr Chantal.Zeender@
renault.com < tmp_68240.txt


------------------------------

Here is the test script:

#!/bin/bash

echo "Envoie du mail au service 68240"

for Name in `cat Liste_EMails_68240.txt`
do
echo "email -header ' ' -f yann.collette@renault.com -s 'Rappel SDA' -r wsmtp.renault.fr $Name < MailSDA.txt"
echo "Email send to $Name"
done
cat EnteteMailSDASecretaires68240.txt > tmp_68240.txt
echo "Liste du personnel" >> tmp_68240.txt
echo " " >> tmp_68240.txt
cat Liste_EMails_68240.txt >> tmp_68240.txt
echo "email -header ' ' -f yann.collette@renault.com -s 'Rappel SDA - Liste du personnel' -r wsmtp.renault.fr Chantal.Zeender@renault.com < tmp_68240.txt"
rm tmp_68240.txt


--------------------

MailSDA.txt containts a simple text
EnteteMailSDASecretaires68240.txt contains also a simple text.
List_EMails_68240.txt contains a list of email (one email by line ...).

Your sincerely,

YC



-- Disclaimer ------------------------------------
Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme.
***
This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]