On Thu, Sep 30, 2010 at 06:07:38PM +0100, Wayne Boucher wrote:
> Thanks, we'll do that for the next release. (Is there a bash equivalent
> to -f??)
bash has a totally different behavior. The ~/.bashrc is the file that
would be read in a subshell like a script, but it's only read in
interactive shells:
http://www.gnu.org/software/bash/manual/html_node/Is-this-Shell-Interactive_003f.html
So a shebang of #!/bin/bash should be safe in almost every case.
-ben
--
| Ben Eisenbraun | Software Sysadmin |
| Structural Biology Grid | http://sbgrid.org |
| Harvard Medical School | http://hms.harvard.edu |
|