Re: Strange 'find' result
On Mon, 15 Feb 1999, Mitch Blevins wrote:
> In foo.debian-user, you wrote:
> > Can somebody explain this to me?
> >
> > $ find /cdrom -iname wx*
> > $ find /cdrom -iname wxx*
> > /cdrom/debian/hamm/hamm/binary-i386/libs/wxxt1_1.66d-2.deb
> >
> > Why does the first 'find' query give no results?
>
> Are you quoting the argument to avoid shell expansion?
>
> $ find /cdrom -iname 'wx*'
No. I just did it as it was printed above.
Today is another day. I did the same thing and here is the result:
(I was in my home directory as I was yesterday)
jhspies@Johann(8)$ find /cdrom -iname wx*
find: paths must precede expression
Usage: find [path...] [expression]
jhspies@Johann(9)$ cd /
jhspies@Johann(10)$ find /cdrom -iname wx*
/cdrom/debian/hamm/hamm/binary-i386/doc/wxhelp_1.66d-2.deb
/cdrom/debian/hamm/hamm/binary-i386/libs/wxxt1_1.66d-2.deb
Anyhow, it is not a problem for me. I was just curious on why the strange
result. Now I am wondering why I did not get the same result today?
Johann
--------------------------------------------------------------------------
| Johann Spies Windsorlaan 19 |
| jhspies@futurenet.co.za 3201 Pietermaritzburg |
| Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa) |
--------------------------------------------------------------------------
"But as many as received him, to them gave he power to
become the sons of God, even to them that believe on
his name" John 1:12
Reply to: