Re: New coreutil? realpath - retrieve canonicalized absolute path

2005-07-19 Thread Sebastian Rasmussen
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

Re: New coreutil? realpath - retrieve canonicalized absolute path

2005-07-19 Thread P
Sebastian Rasmussen wrote: 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

Re: New coreutil? realpath - retrieve canonicalized absolute path

2005-07-19 Thread Sebastian Rasmussen
Hi! How do I canonicalize a path is a common question in my experience, so making `readlink -f` better known with documentation would help. It would be great if `apropos canonicalize` returned it. Ok, a patch along the lines of diff -Npruw coreutils-cvs/man/readlink.x

Re: New coreutil? realpath - retrieve canonicalized absolute path

2005-07-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Sebastian Rasmussen on 7/18/2005 6:25 PM: Hi! 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