So csh/tcsh is nice because it will, be default, read the .cshrc on every
instantiation, interactive or not.
Current versions of bash will read from the file noted in BASH_ENV on
non-interactive startup, which is good.
The bad news is that if bash is invoked as a link from /bin/sh it will not
process any startup file.
How do folks write shell scripts that need access do module shell
aliases/functions? This will also affect usage from inside a Makefile...
Is the answer to use SHELL=/bin/bash in a Makefile, and use #!/bin/bash in
those scripts that need access to module shell aliases/functions?
H
|