Re: export won't work

2002-09-02 Thread Bob Proulx
Russell <[EMAIL PROTECTED]> [2002-09-01 20:02:05 +1000]: > I'm getting too confused now. I could just use echo . > Time to stop i think;) In a script you can use : echo foo=$foo The ':' is a 'true' construct. The echo there means nothing but clues me in that it is only an echo. But then wh

Re: export won't work

2002-09-01 Thread Russell
Russell wrote: > > "Eric G. Miller" wrote: > > > > On Sun, Sep 01, 2002 at 07:04:07PM +1000, Russell wrote: > > > Hi, > > > > > > Why won't export work? When i run this > > > bash script on debian 3: > > > > > > #!/bin/sh > > > ABC=def > > > export ABC > > > exit 0 > > > > > > when i type 'export

Re: export won't work

2002-09-01 Thread Russell
"Eric G. Miller" wrote: > > On Sun, Sep 01, 2002 at 07:04:07PM +1000, Russell wrote: > > Hi, > > > > Why won't export work? When i run this > > bash script on debian 3: > > > > #!/bin/sh > > ABC=def > > export ABC > > exit 0 > > > > when i type 'export', then ABC doesn't > > appear in the list of

Re: export won't work

2002-09-01 Thread Russell
"Eric G. Miller" wrote: > > On Sun, Sep 01, 2002 at 07:04:07PM +1000, Russell wrote: > > Hi, > > > > Why won't export work? When i run this > > bash script on debian 3: > > > > #!/bin/sh > > ABC=def > > export ABC > > exit 0 > > > > when i type 'export', then ABC doesn't > > appear in the list of

Re: export won't work

2002-09-01 Thread Eric G. Miller
On Sun, Sep 01, 2002 at 07:04:07PM +1000, Russell wrote: > Hi, > > Why won't export work? When i run this > bash script on debian 3: > > #!/bin/sh > ABC=def > export ABC > exit 0 > > when i type 'export', then ABC doesn't > appear in the list of environment variables. A process can't change th

Re: export won't work

2002-09-01 Thread David B Harris
On Sun, 01 Sep 2002 19:04:07 +1000 Russell <[EMAIL PROTECTED]> wrote: > Why won't export work? When i run this > bash script on debian 3: > > #!/bin/sh > ABC=def > export ABC > exit 0 > > when i type 'export', then ABC doesn't > appear in the list of environment variables. That's unsurprising.

export won't work

2002-09-01 Thread Russell
Hi, Why won't export work? When i run this bash script on debian 3: #!/bin/sh ABC=def export ABC exit 0 when i type 'export', then ABC doesn't appear in the list of environment variables. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL