Newbie: export command doesn't operate when I execute it using a script?

2004-04-20 Thread sylvain . vedrenne
Hello, From the command line, export works as I expect, but when I execute an export command by launching a script, it doesn't work as I expect. Example: % cat try_it export VARIABLE=ItWorksFineImHappy % export VARIABLE=DoesntWorkImConfused % echo $VARIABLE DoesntWorkImConfused (so

Re: Newbie: export command doesn't operate when I execute it using a script?

2004-04-20 Thread Kevin Mark
On Tue, Apr 20, 2004 at 10:41:15AM +0200, [EMAIL PROTECTED] wrote: Hello, From the command line, export works as I expect, but when I execute an export command by launching a script, it doesn't work as I expect. Example: % cat try_it export VARIABLE=ItWorksFineImHappy % export

Re: Newbie: export command doesn't operate when I execute it using a script?

2004-04-20 Thread Robert Waldner
On Tue, 20 Apr 2004 10:41:15 +0200, [EMAIL PROTECTED] writes: From the command line, export works as I expect, but when I execute an export command by launching a script, it doesn't work as I expect. Looks to me like your script is executed with its own shell. Try invoking your script with

Re: Newbie: export command doesn't operate when I execute it using a script? - Solved.

2004-04-20 Thread sylvain . vedrenne
Selon Ken Irving [EMAIL PROTECTED]: On Tue, Apr 20, 2004 at 10:41:15AM +0200, [EMAIL PROTECTED] wrote: Hello, From the command line, export works as I expect, but when I execute an export command by launching a script, it doesn't work as I expect. Example: % cat try_it