On Sun, 3 Aug 1997, Paul Miller wrote: > if the ~/.bash_profile I want to run a file if it exists. I tried using > 'sh filename' and none of the variables were set. However, if I append > the filename to .bash_profile it works -- the variables are exported..
Not sure about csh, but I think bash (and sh) needs a single dot, i.e. ". $HOME/.sd.sh" (without the quotes). I believe this is refered to as sourcing the file. Bash man page should have more on this. HTH, Brandon ----- Brandon Mitchell E-mail: [EMAIL PROTECTED] Homepage: http://www.geocities.com/SiliconValley/7877/home.html "We all know Linux is great...it does infinite loops in 5 seconds." --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .