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    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to