|
From: | Sebastian Rasmussen |
Subject: | Re: New coreutil? realpath - retrieve canonicalized absolute path |
Date: | Tue, 19 Jul 2005 10:45:18 +0200 |
> Below is a patch (against coreutils-cvs) that > implements a new coreutil of mine, realpath, that > more or less wraps the libc call realpath(3). This > is done in order to allow shell scripts or users > to retrieve an absolute path given a relative > path. What's wrong with the already-existing `readlink -f'?
Besides me not knowing that it existed, nothing. It appears to give exactly the same results as my realpath does. The manpage could state that readlink performs canonicalization on links as well as normal paths. That way I wouldn't have missed it when searching for a suitable command. Would a patch updating the manpage be suitable? / Sebastian Rasmussen
[Prev in Thread] | Current Thread | [Next in Thread] |