[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, 10 Apr 2016 15:41:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 04/10/2016 03:12 PM, 積丹尼 Dan Jacobson wrote:
> 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.
huh? I'm not sure I can follow. xargs outputs the command and
the "?..." on STDERR, and read the user's choice from /dev/tty - as
specified in:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html
Without RET, this would all be mangled and the commands would be
unreadable on a terminal.
Have a nice day,
Berny