From owner-freebsd-questions Sun Oct 13 10:07:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA25352 for questions-outgoing; Sun, 13 Oct 1996 10:07:41 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA25345 for ; Sun, 13 Oct 1996 10:07:34 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id TAA28678; Sun, 13 Oct 1996 19:05:49 +0200 (IST) Date: Sun, 13 Oct 1996 19:05:49 +0200 (IST) From: Nadav Eiron To: hmmm cc: freebsd-questions Subject: Re: find In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 13 Oct 1996, hmmm wrote: > > ok - as usual, i'm part right, part wrong. > > here's the scoop after testing further suggestions ... > > oh - and his is with SH, i want to get good with it before > i move on to better shells .... > > the quotes help, but it STILL works different > in different directories ??? > .......................................................... > > cd /usr/local/man/man1 > > find / -name ispell > /usr/local/bin/ispell > > find / -name ispell* > /usr/local/man/man1/ispell.1.gz > /usr/local/man/cat1/ispell.1.gz > > find / -name "ispell*" > /dos/bsd/packages/all/ispell-3.1.2 > /usr/local/bin/ispell > /usr/local/man/man1/ispell.1.gz > /usr/local/man/cat1/ispell.1.gz > /usr/local/man/man4/ispell.4.gz > /usr/local/share/emacs/site-lisp/ispell.el > /usr/local/share/emacs/site-lisp/ispell.elc > /usr/packages/All/ispell-3.1.20.tgz > /var/db/pkg/ispell-3.1.20 > > cd .. > > find / -name ispell > /usr/local/bin/ispell > > find / -name ispell* > /dos/bsd/packages/all/ispell-3.1.2 > /usr/local/bin/ispell > /usr/local/man/man1/ispell.1.gz > /usr/local/man/cat1/ispell.1.gz > /usr/local/man/man4/ispell.4.gz > /usr/local/share/emacs/site-lisp/ispell.el > /usr/local/share/emacs/site-lisp/ispell.elc > /usr/packages/All/ispell-3.1.20.tgz > /var/db/pkg/ispell-3.1.20 > > find / -name "ispell*" > /dos/bsd/packages/all/ispell-3.1.2 > /usr/local/bin/ispell > /usr/local/man/man1/ispell.1.gz > /usr/local/man/cat1/ispell.1.gz > /usr/local/man/man4/ispell.4.gz > /usr/local/share/emacs/site-lisp/ispell.el > /usr/local/share/emacs/site-lisp/ispell.elc > /usr/packages/All/ispell-3.1.20.tgz > /var/db/pkg/ispell-3.1.20 > > > ------------------------------------------------------------------------------ > ? http://www.alaska.net/~hmmm > ------------------------------------------------------------------------------ > > Well, where is the difference? As far as I (and diff) can judge, there is absolutly no difference between the outputs of the two runs of find / -name "ispell*", and it is clear that without the quotes the output would depend on whatever happens to match the ispell* pattern in the current directory. Where is the problem then? Nadav