Export Problem

David Cary Hart Fedora at TQMcube.com
Sat Aug 28 16:58:41 UTC 2004


Perhaps a tad OT. From the command line, if I do "export FOO='bar'" and
then do export -p, the result is as expected.

However, if I do the same thing in a script:
#!/bin/bash
export FOO="bar"

. . . it does not create the variable. export -p and it's not there.

Where am I going wrong? What don't I get? 

Thanks.






More information about the fedora-list mailing list