[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] how to pass data to gnuplot from another block

From: Greg Troxel
Subject: Re: [O] [babel] how to pass data to gnuplot from another block
Date: Fri, 13 Dec 2013 10:23:54 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (berkeley-unix)

Eric Schulte <address@hidden> 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.

Attachment: pgp3fqIokGwHt.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]