coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extend readlink -e


From: Peng Yu
Subject: Re: Extend readlink -e
Date: Fri, 4 Nov 2011 11:31:13 -0500

Hi Eric,

Thanks for letting me know. But it is not immediately obvious -f cover such a case. This special case can be added to the manual.

       -f, --canonicalize
              canonicalize by following every symlink in every component of the given name recursively; all but the last component must exist


On Fri, Nov 4, 2011 at 11:17 AM, Eric Blake <address@hidden> wrote:
On 11/04/2011 10:15 AM, Peng Yu wrote:
Hi,

readlink -e current returns nothing if the argument is not a symbolic link.
I feel that it might be convenient to add an additional option to print the
file/dir even the argument is not a symbolic link. Would the maintainer of
readlink consider adding such an option? Thanks!

That option already exists:

readlink -f

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



--
Regards,
Peng

reply via email to

[Prev in Thread] Current Thread [Next in Thread]