Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 15:42:58 +0200 (MET DST)
From:      Robert Eckardt <roberte@mep.ruhr-uni-bochum.de>
To:        hmmm@alaska.net (hmmm)
Cc:        brandon@glacier.cold.org, questions@FreeBSD.ORG
Subject:   Re: find
Message-ID:  <199610131342.PAA02498@ghost.mep.ruhr-uni-bochum.de>
In-Reply-To: <Pine.BSF.3.95.961013042248.225B-100000@hmmm> from hmmm at "13. Oct. 96  4:26:25"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610131342.PAA02498>