tags 317019 confirmed
severity 317019 important
forwarded 317019 
http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=13650
thanks
On 2005-07-05 Matias Rollan <[EMAIL PROTECTED]> wrote:
> Package: findutils
> Version: 4.2.22-1
> Severity: normal

> With 4.1.20-6:

> $ find . -type f -exec rm -i {} \;
> rm: remove regular file «./httpd.conf»? y

> Until here everything works ok.

> With 4.2.22-1:

> $ find -type f -exec rm -i {} \;
> rm: remove regular file `./Muttrc'? rm: remove regular file
> `./adduser.conf'? rm: remove regular file `./adjtime'? rm: remove
> regular file `./aliases'? rm: remove regular file `./aliases.O'?
[...]

Hello,
thank you for the nice bug-report, I've confirmed it and forwarded the
report to the upstream author.

> The same way using "xargs".

> $ find -type f |xargs -i rm -i {}
> rm: remove regular file `./Muttrc'? rm: remove regular file
> `./adduser.conf'?

> which also works under previous releases.
[...]

No, xargs is different, and has not worked that way previously.
[EMAIL PROTECTED]:find$ xargs --version
GNU xargs version 4.1.20
[EMAIL PROTECTED]:find$ printf  'fstype.o\nparser.o\n' | xargs -i rm -i {}
rm: remove regular file `fstype.o'? rm: remove regular file `parser.o'? [EMAIL 
PROTECTED]:find$
[EMAIL PROTECTED]:find$ printf  'fstype.o\nparser.o\n' | xargs rm -i
rm: remove regular file `fstype.o'? rm: remove regular file `parser.o'? [EMAIL 
PROTECTED]:find$

You could use "xargs -p rm", though.
          cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to