[IPython-dev] SciPy Sprint summary
Fri Jul 23 18:31:07 CDT 2010
On Fri, Jul 23, 2010 at 4:54 PM, Justin Riley <email@example.com>wrote:
> Hi Satrajit/Matthieu,
> Satrajit, so for now I set /bin/sh to be the shell for all generated
> scripts (PBS/SGE/LSF) given that it's probably the most commonly
> included shell on *NIXs. Should we still add a --shell option? If the
> user passes their own script they can of course customize the shell,
> but otherwise I would imagine /bin/sh with the generated code should
> work for most folks. If it still makes sense to have a --shell option
> I'll add it in.
If I might interject for a moment, this was a major issue a few years ago
with Ubuntu: https://wiki.ubuntu.com/DashAsBinSh
Essentially, people were using Bash-isms without realizing it and starting
their shell scripts with /bin/sh. In Debian, it is policy for all shell
scripts that specify /bin/sh should only use POSIX features. So, for Ubuntu
changed the /bin/sh aliase to /bin/dash from /bin/bash. Dash is a lot like
bash, but not quite. This caused some... interesting... issues.
The link I provided above mentions some of the usual gotchas. Whether they
apply to the issue at hand or not, I wouldn't know, but it has been a handy
reference for me before.
I'll go back to my hole...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev