[coreutils 8.1, gnu/linux]

$ touch foo 
$ ln -s foo lnk
$ \cp --no-dereference foo lnk
cp: `foo' and `lnk' are the same file

Well, no, they're not.
I expected the file foo to overwrite the symlink lnk.
I can imagine that error without --no-dereference, but with it ... ?

Thanks,
k


Reply via email to