Hi,

I was surprised to find that in man bash the reference to initialization
files is wrong. The bash manual says it reads initialization files from
/etc/profile:
FILES
       /bin/bash
              The bash executable
       /etc/profile
              The systemwide initialization file, executed for login shells


Where real life uses /etc/bash/bashrc
This part is taken from strace dump: strace bash -i
open("/etc/bash/bashrc", O_RDONLY|O_LARGEFILE) = 3

I use bash from gentoo package:
$ equery belongs /usr/share/man/man1/bash.1.bz2
[ Searching for file(s) /usr/share/man/man1/bash.1.bz2 in *... ]
app-shells/bash-3.2_p17 (/usr/share/man/man1/bash.1.bz2)

$ equery belongs /bin/bash
[ Searching for file(s) /bin/bash in *... ]
app-shells/bash-3.2_p17 (/bin/bash)


-- 
Regards.

David Harel,

==================================

Home office +972 77 7657645
Fax:        +972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
            D.N Merom Hagalil
            13802
            Israel
Email:      [EMAIL PROTECTED]


-- 
[EMAIL PROTECTED] mailing list

Reply via email to