[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xargs --negate-interactive
From: |
積丹尼 Dan Jacobson |
Subject: |
Re: xargs --negate-interactive |
Date: |
Sun, 10 Apr 2016 21:12:50 +0800 |
>>>>> "BV" == Bernhard Voelker <address@hidden> writes:
BV> Although you're maybe right from the logical point of view, I'm not
BV> sure if 'xargs -p' is used often enough to warrant adding such an option
BV> to the code. The next user may then come and want to have yet another
BV> option like --interactive-assume-n to type RET RET RET and pass a
BV> 'y' just for the argument [s]he want the command to be run.
Well all I know is currently one would use
RET y RET RET RET y RET y RET
so how about a choice to reverse it to
n RET RET n RET n RET RET RET
to get the same effect.
of course if they wanted to type
n RET y RET n RET n RET y RET y RET
then no changes are needed to the current version.
Wait, how about an option to eliminate the need for RET:
so now all they would need to type is
RET y RET RET y y
or even
x y x x y y
or any non y ...
wait, how about just n,y,and q(to quit), and maybe "." to do 'execute
this last one and then quit." No RET.
Or even a way to configure what keys are wanted.
No I don't think there is another program that can do all this.