Subject: bug#13464: Readlink Bug - Displays absolute path of a non existent file also

From: Pádraig Brady <[email-masked]>
Date: Wed, 16 Jan 2013 21:46:28 +0000

tag 13464 notabug
close 13464
stop

On 01/16/2013 06:05 PM, PK wrote:
> Hi,
> readlink -m <file> displays the absolute path of a <file>
>
> The bug is that it displays, even if the file is non-existent.
>
> This does not solve the purpose and I see it creates more ambiguity in
> showing a non-existent file.

$ readlink -m /canonicalize/blah/../a/path
/canonicalize/a/path