Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Yann Dubost" To: Subject: eval function not working anymore !? Date: Thu, 15 Sep 2005 17:11:07 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I have been using cygwin for several years now and I have several scripts tant do not work anymore since I installed the latest release of cygwin (doxnloaded last week). The reason is the eval function that I use quite a lot in such ways as : DOMAINE_LISTE="DOM1 DOM2 DOM3" DOM1_MODULES='D1_M1 D1_M2" DOM2_MODULES="D2_M1 D2_M2" for domain in $DOMAINE_LISTE do eval MODULES=$"${domain}_MODULES" ... done Before it was working fine, but now echo $MODULES returns "DOM1_MODULES" or "DOM2_MODULES" instead of "D1_M1 D1_M2" "D2_M1 D2_M2" Have you experience such a change ? Do you have an idea why ? How can I work around this problem (another function to use ?) Regards, Yann. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/