bug-coreutils
[Top][All Lists]
Advanced

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

Re: Feature Request: du --dir-with-slash


From: Thomas Guettler
Subject: Re: Feature Request: du --dir-with-slash
Date: Wed, 12 Mar 2008 09:36:07 +0100
User-agent: Thunderbird 2.0.0.9 (X11/20070801)

Jim Meyering schrieb:
> Pádraig Brady <address@hidden> wrote:
>   
>> Thomas Guettler wrote:
>>     
>>> Thank you for being interested. I wrote a patch which makes the slash
>>> optional:
>>>
>>> src/du --help:
>>>  ...
>>>   -z, --dir-with-slash  append a slash to directories.
>>>       
>> I don't think it's worth an option TBH.
>> How about we do this iff POSIXLY_CORRECT environment variable is not set?
>>     
>
> Hi Pádraig,
>
> I don't like to encourage the use of POSIXLY_CORRECT,
> and fear such a change might end up doing that.
>   
Me, too. I want to add slashes only if the user explicitly asks for it.


> Besides, the cost[*]/benefit ratio of adding trailing slashes by
> default looks way too high.
>
>   
I agree.

> I'm very dubious about adding this as an option.
> Do you really think an option is warranted for this,
> considering you can already get the desired behavior
> with a small wrapper, as I demonstrated:
>
>   
Since old versions of du didn't support --files-from I already wrote
a small implementation in python some time ago. But it would be
nice to have it in GNU du.

> By the way, someone's mail server (Thomas', I think) refused mail from my
> IP address last time, and I'm not bothering to reroute to accommodate it.
>   
I forwarded your complain to our provider. I am sorry.

If you think that a one letter option is not worth it, I am happy
with only a long option, too.

 Thomas

-- 
Thomas Güttler, http://www.tbz-pariv.de/ 
Bernsdorfer Str. 210-212, 09126 Chemnitz, Tel.: 0371/5347-917
TBZ-PARIV GmbH  Geschäftsführer: Dr. Reiner Wohlgemuth
Sitz der Gesellschaft: Chemnitz Registergericht: Chemnitz HRB 8543





reply via email to

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