Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 19:05:49 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        hmmm <hmmm@alaska.net>
Cc:        freebsd-questions <questions@freebsd.org>
Subject:   Re: find
Message-ID:  <Pine.BSF.3.91.961013190222.28668A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <Pine.BSF.3.95.961013161932.617A-100000@hmmm>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961013190222.28668A-100000>