Re: .bashrc .profile .bash_profile

2009-10-02 Thread Harald Hanche-Olsen
+ Brandon Allbery allb...@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

Re: .bashrc .profile .bash_profile

2009-10-02 Thread Scott Haneda
Thank you! comments below... On Oct 1, 2009, at 5:21 PM, Brandon Allbery wrote: On Oct 1, 2009, at 17:41 , Scott Haneda wrote: I need to understand this once and for all, there is varying info on this, the bash man page is verbose and not entirely clear. When bash is invoked as an

port upgrade outdated - stops at build failure on doxygen

2009-10-02 Thread Darren Weber
First, a general question about how the outdated ports are sorted - are they sorted alphabetically or is there a dependency heirarchy (or tree) that is searched to identify the order for upgrade? Now, is it possible to have 'port update outdated' continue after a build failure? Below is an

Re: realpath failed -- error uninstalling ports

2009-10-02 Thread Dexter Douglas
Hello, I am sorry.  I left out ALL the important information. I am running Leopard on a PowerBook G4; Xcode 3.1.2; macports 1.8.1. port uninstall was working just fine until 1 Oct.  That is when I performed a selfupdate to 1.8.1 and then upgraded all my outdated ports. After the upgrade, I

PATH procedures

2009-10-02 Thread Scott Haneda
Here is my PATH as reported by ENV PATH=/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/Users/me/ bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Is this pretty standard, to have to add the {prefix}/apache2/bin to your PATH? Take this for example: $which mysql5

Re: PATH procedures

2009-10-02 Thread Brandon Allbery
On Oct 2, 2009, at 22:20 , Scott Haneda wrote: Is this pretty standard, to have to add the {prefix}/apache2/bin to your PATH? Standard Apache / Apache2 behavior, yes, as distinct from other programs. My understanding is that most of the Apache binaries aren't particularly useful on

Re: .bashrc .profile .bash_profile

2009-10-02 Thread Brandon Allbery
On Oct 2, 2009, at 16:14 , Scott Haneda wrote: What specifically is an environment setting? This means PATH would be a bad thing to have in .bashrc? What I do is work in my user account, I have aliases, and other helper things as well as the PATH adjustments to MacPorts. Anything you

Re: .bashrc .profile .bash_profile

2009-10-02 Thread Brandon Allbery
You might want to read the first several chapters of Kernighan and Pike's _The Unix Programming Environment_; the sections about shell programming will clarify quite a bit of what's going on with the environment and various startup files, even though it predates bash. -- brandon s. allbery

Re: .bashrc .profile .bash_profile

2009-10-02 Thread Brandon Allbery
On Oct 2, 2009, at 14:49 , Harald Hanche-Olsen wrote: + Brandon Allbery allb...@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