On Friday 24 of July 2009 09:15:56 Jim Meyering wrote:
> > Actually I don't know if we have some utility equivalent to
> > canonicalize_file_name() 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


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to