When you open the file referred to by path2, that is essentially looking at joinpath(pwd(), path2) and this is just a generalization of that that behavior relative to path1 instead of pwd() specifically. This is also how Python does it <https://docs.python.org/2/library/os.path.html#os.path.join>, although there seems to be some confusion <http://stackoverflow.com/questions/1945920/os-path-join-python> due to that as well.
On Thu, Feb 5, 2015 at 12:36 PM, Davide Lasagna <[email protected]> wrote: > I know this is documented by what is the rationale for joinpath(path1, > path2) to return path2 if path2 looks like an absolute path? > > Cheers, > > Davide
