coreutils
[Top][All Lists]
Advanced

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

Re: PATCH: relpath


From: Pádraig Brady
Subject: Re: PATCH: relpath
Date: Thu, 01 Dec 2011 12:21:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/01/2011 12:10 PM, Dmitry V. Levin wrote:
> On Thu, Dec 01, 2011 at 12:07:00PM +0100, Jim Meyering wrote:
>> Peng Yu wrote:
>>> I have submitted the patch long time ago as I was asked to add the patch. 
>>> However, nobody really takes a look at it. I feel really sad. Could anybody 
>>> take a look and see if it is above the quality criterion and let me know 
>>> what I need to change so this small utility can be added to the repository?
>> 
>> First of all, you will need to complete some copyright assignment paperwork. 
>>  Please follow these steps:
>> 
>> http://git.sv.gnu.org/cgit/coreutils.git/tree/HACKING#n444
>> 
>> Pádraig Brady and I talked about this today, and he suggested to call this 
>> new program realpath, and with usage like this:
>> 
>> realpath --relative-start=DIR FILE ...
> 
> In that case, please make its interface compatible with Debian's realpath: 
> http://packages.debian.org/search?keywords=realpath 
> http://anonscm.debian.org/gitweb/?p=users/robert/realpath.git

Which is:

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

I.E. the same except that debian's also has a --strip option to:
"Only strip . and .., components, but do not resolve symlinks".

If we implement --strip, then it means Debian could prefer the
coreutils version, which is a superset.

Using realpath, means we get more related functionality
into a single tool, and also we overlap with FreeBSDs util
of the same name. No options proposed so far conflict with
existing implementations.

cheers,
Pádraig.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO13EvAAoJEN9v2XEwYDfZLO0P/AyegSYmcbK8BJFcpYl3cvIc
iZSQAO/llEzIqGni6M5Ydqy7Klnm7k2ZYNAnSvMAbbyK1rgwjftxPa24Dpm2xbyv
KH4iXYatkCxnip6IhudbFwdTPz1SLi1OeZYFgLVrAdH7QBdI13jHV2Y2ESprsqU0
tkU2HcT9eZ8NK7J63poZHMLCejnHXYiIasiKNOLWgYLhkGCxz+ZoJ/75EshskUSA
pxJxkuarKTvQX+TGDNOT4I88MlkuoPO5Bjv+DUxgjls/HZPKPQ8Pbuu9v3klKkgo
4E0wEVDpoAFNC5D9LwdZaNkXwFZ5ccWmbYwDtyrkUcwgpTMVj2UYgr6PHbOyg+3T
YcucJyb6MI5mUHhKFOW+htOarYL1xUgwapnvBu3weu/ybakhjJU+asf7Fr1lG4Tm
xTCoMpkYvhApCGHYAXSO50OQA3iUZzUIzmpc61qd3eDQd7suY9wrqGDq8aM180Xq
RCo6EqVXw3MLpLvDQOD0HV7GivK1iOLc+dq9tFAn9Lmrkh7L30t4UIaWNKaeQ8Sl
mtiFkTbBhb9Gn2kMKdusz/2Htn/OSg8gXcF2bJ6PoQ/h49m4H3OFAaIZDkMG0oa9
G7QnjYegn/IkcqnDZw2aNkQB67KGt6Cd27JTuYMtF3PQPXwdXJsnGNSENwPO46AK
ysrtY7IvjFi2jIeW88Pt
=8hKH
-----END PGP SIGNATURE-----



reply via email to

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