From: "ara.t.howard" Date: 2007-10-13T11:01:23+09:00 Subject: Re: [OT] Re: wtf? gem command vanished On Oct 12, 2007, at 12:32 PM, John Joyce wrote: >> >> users coming from linux to bsd/osx are sometime surprised to find >> their .bashrc not sources in certain situations - this is due to >> the setup in /etc, not bash itself. regardless it's a source of >> confusion for many people. > not sources? huh? 'sources'.sub /s$/, 'd' > I think it's linux that might be deviating on that actually, but it > shouldn't matter. > in all of them, there is a load precedence precedence on the file > name and location. Some of the files officially have the same > precedence, but might get slightly higher by being loaded in the > order of the file name. it's not quite just order - some are not loaded at all under certain situations. the .bashrc, for example is *not* sourced on login on some systems. linux does indeed do this differently so, if you're coming from that os you will have quite a suprised with a carefully crafted .bashrc. cheers. a @ http://codeforpeople.com/ -- share your knowledge. it's a way to achieve immortality. h.h. the 14th dalai lama