Re: How to export environment variable to parent?

From: Charlie Zender (zender_at_uci.edu)
Date: 11/09/03


Date: Sun, 09 Nov 2003 13:20:58 -0800

Eureka!

In 15 years of using UNIX I never realized the difference between
sourcing a script and running it. Autodumbdacticism.

Thanks!
Charlie

-- 
Charlie Zender, my_surname@uci.edu, (949) 824-2987, Department of
Earth System Science, University of California, Irvine CA 92697-3100


Relevant Pages

  • Re: a variable CD in a CSH script
    ... and make sure the script doesn't have execute permission (so you don't ... > I tried sourcing it, and running it normally (which obviously wouldn't ... > my alias is 'alias utgo "source utgo.scpt"' ... and do not have the option to upgrade to tcsh. ...
    (comp.unix.shell)
  • Re: Seamonkey -- has anybody successfully installed it?
    ... I'm not sure if sourcing is the best idea in this case, ... with a bunch of settings in your shell you realy don't want to have. ... you may be using a different shell from the one the script ...
    (Ubuntu)
  • Re: bash scripts: how to determine directory of sourced file
    ... michael wrote: ... How do I, within the script, determine the actual directory within which ... The sourcing seems to disallow me access to ...
    (Debian-User)
  • Re: sourcing a file question
    ... Thanks for all the responses. ... sourcing, as that is why I asked the question. ... the argument used when the initial script was run. ... >>I'm adding more functionality toa script file on Solaris this is ...
    (comp.unix.shell)