www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/27/03:25:50

X-Spam-Check-By: sourceware.org
X-Spam-Filter: check_local AT xenia3 DOT renault DOT fr by digitalanswers.org
Date: Mon, 27 Aug 2007 09:25:18 +0200
From: COLLETTE Yann <yann DOT collette AT renault DOT com>
Subject: BUG: bash-3.2.15
To: cygwin AT cygwin DOT com
Message-id: <46D27C5E.6080306@renault.com>
MIME-version: 1.0
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
X-NAI-Spam-Report: 0 Rules triggered
X-NAIMIME-Disclaimer: 1
X-NAIMIME-Modified: 1
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id l7R7PcBj015465

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 DOT collette AT renault DOT com -s 'Rappel SDA' -r 
wsmtp.renault.fr
Email send to
email -header ' ' -f yann DOT collette AT renault DOT 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 DOT rooy AT renault DOT com
email -header ' ' -f yann DOT collette AT renault DOT com -s 'Rappel SDA' -r 
wsmtp.renault.fr georges DOT huddlestone AT renault DOT com < Mai
lSDA.txt
Email send to georges DOT huddlestone AT renault DOT com
email -header ' ' -f yann DOT collette AT renault DOT 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 DOT collette AT renault DOT 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 DOT collette AT renault DOT com -s 'Rappel SDA - 
Liste du personnel' -r wsmtp.renault.fr Chantal DOT Zeender AT renault DOT 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019