how can I "." in csh?
Ian Kluft
kluft at hpcupt1.HP.COM
Wed Jun 29 06:28:53 AEST 1988
rogerc at ncrcae.Columbia.NCR.COM (Roger Collins) writes:
> In csh, is there an easy way to duplicate the function of Bourne's "."
> command? I want to input commands from a file and have them
> change the current layer's environment.
Yes. Use "source" instead of "." in the C Shell.
Instead of
. script
type
source script
I believe that C shell had that feature first. Of course, if I'm wrong,
we'll hear plenty about it. :-)
------------------------------------------------------------------
Ian Kluft RAS Lab
UUCP: hplabs!hprasor!kluft HP Systems Technology Division
ARPA: kluft at hpda.hp.com Cupertino, CA
------------------------------------------------------------------
More information about the Comp.unix.questions
mailing list