[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: simple useful functions
From: |
Drew Adams |
Subject: |
RE: simple useful functions |
Date: |
Fri, 29 Oct 2010 12:02:36 -0700 |
> > > (call-process shell nil t nil "-c"
> > > (concat "source " script "; printenv"))
> >
> > Isn't "." rather than "source" the portable idiom here?
>
> You are correct. "." is better.
`.' doesn't work for csh, does it?
Isn't `source' appropriate for csh?
And `man bash' shows that `source' is supported as well as `.', at least for
that flavor of `sh' (not for original `sh'). In multiple places the `bash' man
page refers to "the . or source builtins" or "the . (source) command". And `.'
and `source' are listed together, with the same description, under `Shell
Builtin Commands'.
So what makes `.' more portable than `source'?
(But I'm no expert on this.)
- simple useful functions, Tak Ota, 2010/10/28
- simple useful functions, Stephen J. Turnbull, 2010/10/29
- Re: simple useful functions, Tak Ota, 2010/10/29
- RE: simple useful functions,
Drew Adams <=
- Re: simple useful functions, Andreas Schwab, 2010/10/29
- RE: simple useful functions, Drew Adams, 2010/10/29
- Re: simple useful functions, Andreas Schwab, 2010/10/29
- Re: simple useful functions, Chad Brown, 2010/10/29
- RE: simple useful functions, Drew Adams, 2010/10/29
- RE: simple useful functions, Stephen J. Turnbull, 2010/10/30
- Re: simple useful functions, Thierry Volpiatto, 2010/10/30
Re: simple useful functions, Andreas Schwab, 2010/10/29