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 <[email protected]> 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   [email protected]    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
>



-- 
Regards,
Peng

Reply via email to