[12168] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 [7.7B]: find

daemon@ATHENA.MIT.EDU (yandros@MIT.EDU)
Tue Jun 28 17:19:21 1994

From: yandros@MIT.EDU
Date: Tue, 28 Jun 1994 17:19:13 +0500
To: bugs@MIT.EDU


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


home help back first fref pref prev next nref lref last post