I have a line containing the file system path to an existing symbolic link. I want to get the path that this link points to.
Basically, I want me to go through this bit of a hacker:
s = "path/to/existing/symlink" `ls -ld
but I want to do this without going around.
ruby symlink
kch Aug 6 '09 at 9:45 2009-08-06 09:45
source share