coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: relpath


From: Peng Yu
Subject: Re: PATCH: relpath
Date: Thu, 1 Dec 2011 09:26:35 -0600

> realpath [-s|--strip] [-z|--zero]  filename  ...

I'm not sure why you and Jim want to merge a different function under
the name realpath. To me, I think this less intuitive. The English
word 'real path' is different from the word 'relative path'. If
'relpath' is used, probably don't need to read the man page to figure
out how to use it. With your proposal, the user will for sure need to
read the manual to figure out how to get relative path. So why merge
them?

The corresponding functions from the following languages are

perl: abs2rel
python: os.path.relpath
ruby: relative_path_from

None of them use the work 'real'? Therefore, I'm not sure it is a good
idea to use 'real' instead of 'rel'.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]