From owner-freebsd-questions Sun Oct 13 06:43:42 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA11508 for questions-outgoing; Sun, 13 Oct 1996 06:43:42 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.16]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA11498 for ; Sun, 13 Oct 1996 06:43:37 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.7.5/8.7.3) id PAA02498; Sun, 13 Oct 1996 15:42:59 +0200 (MET DST) From: Robert Eckardt Message-Id: <199610131342.PAA02498@ghost.mep.ruhr-uni-bochum.de> Subject: Re: find In-Reply-To: from hmmm at "13. Oct. 96 4:26:25" To: hmmm@alaska.net (hmmm) Date: Sun, 13 Oct 1996 15:42:58 +0200 (MET DST) Cc: brandon@glacier.cold.org, questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Sat, 12 Oct 1996, Brandon Gillespie wrote: > > > > cd usr/local/man/man1 > > > find / -name ispell* > > > > > cd usr/local/man > > > find / -name ispell* > > > > I suspect wildcard expansion is getting in your way. You should really put > > quotes around ispell*, ala: > > > > find / -name "ispell*" > > > no, it the same problem results with ot w/o parameter expansion. i just > used that as an example because it exagerates the effect. That's funny -- and hard to believe. I get (running tcsh): I think you meant: v 15:22 ghost:p4: /root 0#% cd /usr/local/man/man1 * new dir: /usr/local/man/man1 15:22 ghost:p4: /usr/local/man/man1 0#% find / -name "ispell*" /cdrom/ports/distfiles/ispell-3.1.20.tar.gz /cdrom/ports/misc/ispell /cdrom/usr/src/usr.bin/file/Magdir/ispell /usr/local/bin/ispell /usr/local/man/man1/ispell.1 /usr/local/man/man4/ispell.4 /usr/local/share/emacs/site-lisp/ispell.el /usr/local/share/emacs/site-lisp/ispell.elc /usr/local/share/emacs/19.29/lisp/ispell.el /usr/local/share/emacs/19.29/lisp/ispell4.el /usr/local/share/emacs/19.29/lisp/ispell.elc /usr/local/share/emacs/19.29/lisp/ispell4.elc /usr/src/usr.bin/file/Magdir/ispell /var/db/pkg/ispell-3.1.20 Time report: 4.681u 26.383s 2:59.55 17.2% 15:25 ghost:p4: /usr/local/man/man1 0#% cd /usr/local/man * new dir: /usr/local/man 15:25 ghost:p4: /usr/local/man 0#% find / -name "ispell*" /cdrom/ports/distfiles/ispell-3.1.20.tar.gz /cdrom/ports/misc/ispell /cdrom/usr/src/usr.bin/file/Magdir/ispell /usr/local/bin/ispell /usr/local/man/man1/ispell.1 /usr/local/man/man4/ispell.4 /usr/local/share/emacs/site-lisp/ispell.el /usr/local/share/emacs/site-lisp/ispell.elc /usr/local/share/emacs/19.29/lisp/ispell.el /usr/local/share/emacs/19.29/lisp/ispell4.el /usr/local/share/emacs/19.29/lisp/ispell.elc /usr/local/share/emacs/19.29/lisp/ispell4.elc /usr/src/usr.bin/file/Magdir/ispell /var/db/pkg/ispell-3.1.20 Time report: 5.061u 26.120s 3:00.72 17.2% 15:28 ghost:p4: /usr/local/man 0#% find / -name ispell* find: No match. 15:29 ghost:p4: /usr/local/man 1#% ls ispell* ls: No match. 15:30 ghost:p4: /usr/local/man 1#% cd man1 * new dir: /usr/local/man/man1 15:30 ghost:p4: /usr/local/man/man1 0#% ls ispell* ispell.1 15:30 ghost:p4: /usr/local/man/man1 0#% ls "ispell*" ls: ispell*: No such file or directory 15:31 ghost:p4: /usr/local/man/man1 0#% > isn't it like this for you too? because this odd behaviour is on all my No. > machines ... If you are you using {ba}sh, the shell executes ispell* like "ispell*" when it cannot expand it while csh complains about `No match'. (This can be controlled by some variable, I think.) Robert -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de