PƔdraig Brady wrote:
> On 12/02/2011 01:21 AM, Guillaume Kielwasser wrote:
> > and what about something like:
> >
> > getpath -C|--canon // simulate realpath
> > getpath -R|--relative // simulate relpath
> > getpath -L|--link // simulate readlink
>
> A good suggestion, thanks.
>
> It's the right level of functionality to provide at the shell level.
+1 from me.
Just to think in another direction (not claiming this is the best idea):
I could also imagine the --canon and --link functionality in stat.
--relative doesn't suit there.
Have a nice day,
Berny