From: Xeno Campanoli Date: 2009-03-18T05:28:52+09:00 Subject: Re: How do I get a name translation for a symbolic link inside Ruby? Jos Backus wrote: > On Wed, Mar 18, 2009 at 05:10:30AM +0900, Xeno Campanoli wrote: >> So I have the results of the shell command: >> >> ln -s 20090317 latest >> >> But I only know about 'latest'. How do I get the 20090317? > > File.readlink > Thank you. Staring right at me on page 471 of my old pickaxe. xc -- "Facts do not cease to exist because they are ignored" - Aldous Huxley "...Or I might add, because they are denied" - Dr. Albert A. Bartlett http://www.eskimo.com/~xeno