coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] rm: Add number of arguments to interactive prompt


From: Pádraig Brady
Subject: Re: [PATCH] rm: Add number of arguments to interactive prompt
Date: Fri, 19 Jul 2013 00:53:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 07/18/2013 10:53 PM, Rasmus Villemoes wrote:
> Include the number of arguments which rm received in the "Remove all
> arguments?" prompt. This is useful in the, presumably, common case
> where the arguments were not provided by hand, but instead were the
> result of various shell expansions. A simple, if somewhat contrived,
> example (assuming rm is aliased to rm -I) could be
> 
>   rm * .o
> 
> where the prompt "Remove all 120 arguments?" is more likely to make
> the user catch the problem.

This makes sense.
Though slightly awkward when n_file==1 it's an improvement.
 I'll apply soon.

thanks!
Pádraig.



reply via email to

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