bug-bash
[Top][All Lists]
Advanced

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

Re: A possible bug with 4.2 (latest)


From: George Goffe
Subject: Re: A possible bug with 4.2 (latest)
Date: Tue, 29 Mar 2011 11:31:06 -0700

Chet,

I'll do that right now.

Thanks for the QUICK response.

George...

On Tue, Mar 29, 2011 at 11:19 AM, Chet Ramey <address@hidden> wrote:

> On 3/29/11 2:09 PM, George Goffe wrote:
> > Howdy,
> >
> > I am experiencing a problem with sourcing a file. It's really my bashrc
> but
> > I want to keep the corporate version separate.
> >
> > What I'm seeing:
> >
> > 1) make a change to .grgrc
> > 2) enter . .grgrc
> > 3) usually use the changed "code".
> >
> > This change is not appearing. My .grgrc is almost 3000 lines of code...
> > mostly little functions that I would otherwise write separate scripts
> for.
>
> I can't reproduce your issue with a trivial test:
>
> $ . ./sample
> 4.2.8(75)-maint
> $ type foo
> foo is a function
> foo ()
> {
>    echo foo
> }
> $ ce sample [MODIFY SAMPLE HERE]
> $ . ./sample
> 4.2.8(75)-maint
> $ type foo
> foo is a function
> foo ()
> {
>    echo bar
> }
>
> Maybe run `set -x' before sourcing the modified file to see what's going
> on.
>
> Chet
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                 ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, ITS, CWRU    address@hidden
> http://cnswww.cns.cwru.edu/~chet/
>


reply via email to

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