On Sat, 28 Aug 2004, David Cary Hart wrote: > 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? I don't think you need the ' or the " around the value. -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org To be notified of updates to the web site, visit http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a message to: site-update-request@xxxxxxxxxxxxxxxxx with a message of: subscribe