.bashrc .profile .bash_profile

Harald Hanche-Olsen hanche at math.ntnu.no
Fri Oct 2 11:49:43 PDT 2009


+ Brandon Allbery <allbery at kf8nh.com>:

> If you run vi and type ":!ls", vi will spawn a noninteractive shell to
> run "ls".  Noninteractive shells are also used by "make", "port", and
> numerous other commands.

Note, however, that these invoke /bin/sh and not bash. Even if /bin/sh
is bash, it will behave more like the classical Bourne shell for
compatility reasons. See the bash man page for the rather hairy
details.

And thus endeth the minilecture.  8-)

- Harald


More information about the macports-users mailing list