How to source a file with part of its absolute path? (bash)
- From: "PengYu.UT@xxxxxxxxx" <PengYu.UT@xxxxxxxxx>
- Date: Fri, 20 Jun 2008 10:36:50 -0700 (PDT)
Hi,
Suppose /a is in $PATH and I have a file /a/b/c.sh to source.
It seems that bash would not source the file, if I use the following
command. Is there any way to source a file with relative path to some
dir in $PATH.
.. b/c.sh
Thanks,
Peng
.
- Follow-Ups:
- Re: How to source a file with part of its absolute path? (bash)
- From: Maxwell Lol
- Re: How to source a file with part of its absolute path? (bash)
- From: Barry Margolin
- Re: How to source a file with part of its absolute path? (bash)
- From: pk
- Re: How to source a file with part of its absolute path? (bash)
- Prev by Date: Re: Killing process with more than one day
- Next by Date: Re: How to source a file with part of its absolute path? (bash)
- Previous by thread: Logical AND with regular expression
- Next by thread: Re: How to source a file with part of its absolute path? (bash)
- Index(es):