[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symlink weirdness
From: |
Stefan Monnier |
Subject: |
Re: symlink weirdness |
Date: |
Wed, 15 Sep 2004 21:53:17 GMT |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
> When would the result created without looking at the file system not
> work? I don't know if it's true for all OSes, but GNU/Linux can have
> symlinks use other symlinks, so is any special attention to symlinks
> needed?
Very easy:
cd; ln -s share/bin .
(file-relative-name "~/" "~/bin/") will return "../" whereas "../../" is
needed to go from ~/bin/ to ~/.
Stefan
Re: symlink weirdness, Barry Margolin, 2004/09/13
Re: symlink weirdness, Tim Smith, 2004/09/14