[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS documentation wrong: .bashrc not read

From: Hans Meine
Subject: Re: CVS documentation wrong: .bashrc not read
Date: Mon, 23 Jun 2003 16:49:29 +0200
User-agent: KMail/1.5.2

Hi Derek!

On Monday 23 June 2003 16:10, Derek Robert Price wrote:
> >Sadly, bash does not seem to have ANY dotfile which is read for
> >non-interactive, non-login-shells.(!)
> Hrm.  Your comment seems to agree with my documentation for Bash [...]
> but setting:
>     JUNKVAR=testval
> in my ~/.bashrc and executing:
>     ssh localhost 'echo $JUNKVAR'
> outputs:
>     testval

We tried that, too but it did not work. Now that I try with localhost, it 
indeed works (as I expected at first, too), but it is obviously not working 
with the ancient version at our university..

GNU bash, version 2.03.0(1)-release (sparc-sun-solaris)
Copyright 1998 Free Software Foundation, Inc.

One might argue that that is out of scope for CVS's documentation.. ;-)

> If you really aren't having your .bashrc sourced, it could be because
> you are invoking Bash as `sh':

Hmm, maybe that is the reason, the following indeed works, too
ssh meine@kogs1 'bash -c '"'"'echo $JUNKVAR'"'"

But thats not exactly what "cvs -d :ext:foo@bar:/baz/" calls.. ;-)

Thanks for investigating!

Ciao, /  /
    /  / ANS

reply via email to

[Prev in Thread] Current Thread [Next in Thread]