Robin Rosenberg schrieb:
$ ln -s Makefile x
$ cp x y
$ ls -ld x y
lrwxrwxrwx 1 me me 8 sep 2 23:36 x -> Makefile
-rw-r--r-- 1 me me 32164 sep 2 23:36 y
And if I understand the documentation correctly, then
$ mkdir foo && cd foo
$ cat ../x
x: No such file or directory
Right?
The docs say that symlinks without backslash are relative to the current
directory (!!!).
-- Hannes
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html