[Top][All Lists]

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

Re: xargs --negate-interactive

From: Bernhard Voelker
Subject: Re: xargs --negate-interactive
Date: Sun, 17 Jul 2016 20:06:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 07/16/2016 04:17 PM, James Youngman wrote:
> I quite like the idea.   Here's an example implementation of a flag that
> could be used in a shell function/alias, if that's your thing.  Comments?

> 0001-xargs-add-new-option-interactive-default-yes-modifyi.patch
> From bfea9c150229db14316262c1c05198c7caeb9538 Mon Sep 17 00:00:00 2001
> From: James Youngman <address@hidden>
> Date: Sat, 16 Jul 2016 15:10:32 +0100
> Subject: [PATCH] xargs: add new option --interactive-default-yes, modifying
>  --interactive.
> To: address@hidden

Another option may be confusing because they contradict (a bit).
I'd rather let --interactive take an optional parameter like

  xargs --interactive=yes
  xargs --interactive=no   # like the default, or overriding ..=yes
  xargs --interactive      # well-known

and let it default to no (like before).


Have a nice day,

reply via email to

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