From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [babel] Sh problem when echo'ing input data with ' inside Date: Thu, 20 Jan 2011 20:17:08 +0100 Message-ID: <87sjwngzbf.fsf@Rainer.invalid> References: <80k4i3vgzo.fsf@missioncriticalit.com> <87k4i3uwpm.fsf@Rainer.invalid> <87fwsrusac.fsf@Rainer.invalid> <80vd1n40k0.fsf@missioncriticalit.com> <80d3nuefcy.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=53503 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pg00b-0006vn-MN for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 14:17:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pg00Z-00053E-Dr for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 14:17:25 -0500 Received: from lo.gmane.org ([80.91.229.12]:60414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pg00Z-00052k-5G for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 14:17:23 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pg00X-0006SA-Nh for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 20:17:21 +0100 Received: from p57aac505.dip.t-dialin.net ([87.170.197.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 20:17:21 +0100 Received: from Stromeko by p57aac505.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 20:17:21 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Sébastien Vauban writes: > I asked the question on the Cygwin mailing list, and got an answer from Tobias > Schlottke, telling me to use the 'plain old' syntax (=`...`= instead of > =$(...)=): On further investigation, this is a bug in bash3, fixed in bash4 (hence why I didn't see it on Linux). Bash4 is now available as "experimental" in the latest version of Cygwin. It's a bit tricky to install since you will also need the experimental version of libreadline7 (package version 6.1) and the setup kind of works against you: I've not managed to install both of them in one go and you will need to be careful with updates since I believe setup will always try to reverse these to the non-experimental versions unless you allow them globally (which I don't want). In any case, the problem with the '$( )' construct is indeed fixed and the next Cygwin release will hopefully have this new bash as standard. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds