On 2005-12-16 13:47:21 -0500, Chet Ramey wrote:
> Vincent Lefevre wrote:
> > When I start bash with "bash --rcfile /etc/bash.bashrc", the problem
> > occurs. But if I type "bash --norc" then "source /etc/bash.bashrc",
> > it doesn't occur. What's the difference between them?
> 
> The difference is that readline initializes itself after
> /etc/bash.bashrc is read in the former case, and before it's read in
> the latter.  That would seem to point to /etc/bash.bashrc.

Possibly another problem: it seems that --rcfile is buggy.

dixsept:~> bash --norc
bash-3.1$

dixsept:~> bash --rcfile /dev/null
[EMAIL PROTECTED]:~$

Shouldn't I have got the same prompt?

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to