From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mxout32.expurgate.net ([194.37.255.32]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YPJhz-0003zX-GK for ptxdist@pengutronix.de; Sun, 22 Feb 2015 00:43:40 +0100 Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.80.1) (envelope-from ) id 1YPJht-0003tT-Bk for ptxdist@pengutronix.de; Sun, 22 Feb 2015 00:43:33 +0100 Received: from [149.211.153.214] (helo=srv1732.hp.thyssenkrupp.com) by relay.expurgate.net with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80.1) (envelope-from ) id 1YPJhs-0006dr-Cz for ptxdist@pengutronix.de; Sun, 22 Feb 2015 00:43:32 +0100 Received: from localhost (localhost [127.0.0.1]) by srv1732.hp.thyssenkrupp.com (Postfix) with ESMTP id F3BCC22120 for ; Sun, 22 Feb 2015 00:43:31 +0100 (CET) Received: from mail.tkecene.com (unknown [10.84.160.137]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by srv1732.hp.thyssenkrupp.com (Postfix) with ESMTPS id E1AE222097 for ; Sun, 22 Feb 2015 00:43:31 +0100 (CET) From: =?iso-8859-1?Q?R=FCdiger=2C_Christoph?= Date: Sat, 21 Feb 2015 23:43:31 +0000 Message-ID: <1E9AED858BEB204B9DE4F807C7ED0EF617CDD360@EMSRVWIN2934.apps.edc.thyssenkrupp.com> References: <1E9AED858BEB204B9DE4F807C7ED0EF617CDD326@EMSRVWIN2934.apps.edc.thyssenkrupp.com>, , <1E9AED858BEB204B9DE4F807C7ED0EF617CDD34C@EMSRVWIN2934.apps.edc.thyssenkrupp.com> In-Reply-To: <1E9AED858BEB204B9DE4F807C7ED0EF617CDD34C@EMSRVWIN2934.apps.edc.thyssenkrupp.com> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] (no subject) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" Am 22.02.15 um 00:29 schrieb R=FCdiger, Christoph:>> +ptxd_make_log() {( >> + # stdout only >> + exec {PTXDIST_FD_STDOUT}>&1 >> + # stderr only >> + exec {PTXDIST_FD_STDERR}>&2 >> >> >> missing $ >> try: >> exec ${PTXDIST_FD_STDOUT}>&1 >> exec ${PTXDIST_FD_STDERR}>&2 > = > = > That was my first impression as well. A simple typing error. But why is i= t running in GNU bash but not in Apple's bash? I'm not quite sure, if this is clear or not, but the simple dollar sign is = not the fix. If adding the dollar sign to convert the brace expansions to p= arameter expansions, the next error is in the last line of the function: > ${logout}: ambiguous redirect So I'm still searching for explanations on why there are brace expansions a= nd why the work in Ubuntu's bash, but not in Apple's bash. Best regards, Christoph P.S.: Sorry for the double post. It's late. Maybe too late. -- ThyssenKrupp Elevator Innovation GmbH PDC Neuhausen TKEI Elevator Control Bernhaeuser Str. 45 73765 Neuhausen, Germany Phone +49 7158 12-2615 christoph.ruediger@thyssenkrupp.com Company domicile: Essen Commercial register: Essen HRB 20 839 Postal address: ThyssenKrupp Allee 1, 45143 Essen, Germany Executive Board: Gerhard Thumm, Katrin Huenger, Philippe Choleau -- ptxdist mailing list ptxdist@pengutronix.de -- = ptxdist mailing list ptxdist@pengutronix.de