Re: A request for addition of a command (original) (raw)

[Top][All Lists]


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


From: Kamil Dudka
Subject: Re: A request for addition of a command
Date: Fri, 24 Jul 2009 09:24:26 +0200
User-agent: KMail/1.9.7

On Friday 24 of July 2009 09:15:56 Jim Meyering wrote:

> Actually I don't know if we have some utility equivalent to > canonicalizefilename() function in coreutils now.

We do. It's called readlink:

Usage: readlink [OPTION]... FILE Display value of a symbolic link on standard output.

Thanks! I was looking for utility like this several times but unsuccessful. Perhaps I was confused by the keyword "symbolic link" in the brief utility description. It might be good to also mention the canonicalization ability there as it is common use case.

Kamil