On 13:19 10 Jan 2003, Todd A. Jacobs <[EMAIL PROTECTED]> wrote: | On Fri, 10 Jan 2003, Robert P. J. Day wrote: | > as i mentioned, you need to execute the script with the "." command. | > yes, the . really is a shell command -- it means "execute this script in | > the current shell". | | Actually, "." is a builtin alias for "source." It's easier to explain this | to people if you give them the source command instead: | | source somescript.sh | | which is a little more self-evident. =)
And nonportable. Historically there was just ".". Some newfangled shells added "source" as a synonym to play happy families with csh, which used "source" instead of ".". -- Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ All information wants to be free. - an old Hacker's adage -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list