Re: easy script question
Thanks a lot... I didn't know what it was called... 'source' is the
command for csh.. Thanks again
-Paul
On Sun, 3 Aug 1997, Brandon Mitchell wrote:
> 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: bhmit1@mail.wm.edu
> 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
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: