[2526] in testers
NetProb ticket #1908, sun4 [7.7B]: find
daemon@ATHENA.MIT.EDU (wdc@MIT.EDU)
Tue Jun 28 17:59:42 1994
From: wdc@MIT.EDU
Date: Tue, 28 Jun 94 17:59:14 -0400
To: testers@MIT.EDU
Cc:
>From yandros@MIT.EDU Tue Jun 28 17:19:26 1994
>Received: by gregor.MIT.EDU (5.57/4.7) id AA25829; Tue, 28 Jun 94 17:19:21 -04>00
>Received: from INFOCALYPSE.MIT.EDU by MIT.EDU with SMTP
> id AA04185; Tue, 28 Jun 94 17:19:15 EDT
>From: yandros@MIT.EDU
>Received: by infocalypse.MIT.EDU (5.0/4.7) id AA05002; Tue, 28 Jun 1994 17:19:>13 +0500
>Date: Tue, 28 Jun 1994 17:19:13 +0500
>Message-Id: <9406282119.AA05002@infocalypse.MIT.EDU>
>To: bugs@MIT.EDU
>Subject: sun4 [7.7B]: find
>X-Orgs: MIT SIPB VWA DCNS
>X-Shabby: not
>Content-Length: 783
>
>
>System name: infocalypse
>Type and version: SPARC/Classic 7.7B
>Display type: cgthree
>
>What were you trying to do?
>
> clean out my homedir, but that's not important right now. I was
> trying to do it via a shell script (~yandros/bin/cleanhome) that
> runs find, using the `-ok' option.
>
>What went wrong?
>
> Here's the particular invocation:
>
> find . \( -name '.*~' -o -name '*~' -o -name '#*' -o -name '.#*' -o -name >'core' -o -name '.xvpics' \) -ok rm {} \;
>
> The output I got was:
>
> < rm ... >? n
> < rm ... >? ^C
>
> Note the lack of the filename from the `{}'s.
>
> Here's a simpler example:
>
> ; find . -name core -ok echo \{\} \;
> < echo ... >? ^C
>
>What should have happened?
>
> ; gfind . -name core -ok echo {} \;
> < echo ... ./core > ? ^C
>
>