public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] man bash document doesn't match real life bash.
@ 2007-09-19 15:03 David Harel
  2007-09-19 13:23 ` Neil Bothwick
  2007-09-19 13:36 ` Albert Hopkins
  0 siblings, 2 replies; 7+ messages in thread
From: David Harel @ 2007-09-19 15:03 UTC (permalink / raw
  To: gentoo-user

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:      hareldvd@ergolight-sw.com


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-23  8:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 15:03 [gentoo-user] man bash document doesn't match real life bash David Harel
2007-09-19 13:23 ` Neil Bothwick
2007-09-19 13:43   ` Etaoin Shrdlu
2007-09-22 20:12   ` David Harel
2007-09-23  3:19     ` Mrugesh Karnik
2007-09-23  8:35       ` Etaoin Shrdlu
2007-09-19 13:36 ` Albert Hopkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox