From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Troxel Subject: Re: [babel] how to pass data to gnuplot from another block Date: Fri, 13 Dec 2013 10:23:54 -0500 Message-ID: References: <87d2lsbvy7.fsf@ucl.ac.uk> <87iovkihe6.fsf@gmail.com> <8738mol52h.fsf@alphaville.bos.redhat.com> <874n73gk70.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrUb1-0003gg-4b for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 10:24:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrUav-0007JM-61 for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 10:24:07 -0500 Received: from fnord.ir.bbn.com ([192.1.100.210]:63552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrUav-0007JD-0s for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 10:24:01 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Nick Dokos , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Eric Schulte writes: >> Just an fyi: I had to set org-babel-sh-command to "bash" for this to >> work. Why is "sh" the default value of this variable? >> > > I think sh is more portable, but I guess almost any system should have > bash as well, I've just changed this default to bash. (Assuming you mean that you changed the default in the org sources, not in your config files.) Please don't, at least without discussion of the consequences of adding a dependency that is beyond POSIX.. sh is specified by posix, and bash is a) sometimes not present and b) behaves differently than as specified by POSIX, leading people to write nonportable code. If someone wants to run bash explicitly, it makes sense to have a bash language block that they can use. But the sh language block should be sh. The real point is that bash is a different language. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (NetBSD) iEYEARECAAYFAlKrJooACgkQ+vesoDJhHiVHmQCgmnn/0lZvri15ARm2VdaFlsot q/MAn1GiuCYQUgFgDRuC9UxIsRh7JaB6 =IoXw -----END PGP SIGNATURE----- --=-=-=--