Mailinglist Archive: opensuse-security (174 mails)

< Previous Next >
Re: bug in /usr/bin/find ?
  • From: Hubert Mantel <mantel@xxxxxxx>
  • Date: Thu, 25 Nov 1999 18:50:21 +0100
  • Message-id: <19991125185021.Q14404@xxxxxxx>
Hi,

On Wed, Nov 24, Vladimir Kukuruzovic wrote:

This is very odd:
(suse 6.2 - updated from 6.0)

kuki@c00l:~ > pwd
/home/office/kuki
kuki@c00l:~ > find /home/office/kuki/ -name linux-* -print
/home/office/kuki/linux-animation.html
kuki@c00l:~ > find /home/office/kuki/dl/ -name linux-* -print
kuki@c00l:~ > cd dl
kuki@c00l:~/dl > find /home/office/kuki/dl/ -name linux-* -print
/home/office/kuki/dl/linux-2.3.28.tar.bz2
kuki@c00l:~/dl > cd ..
kuki@c00l:~ > find . -name linux-* -print
./linux-animation.html
kuki@c00l:~ > cd dl
kuki@c00l:~/dl > find . -name linux-* -print
./linux-2.3.28.tar.bz2
kuki@c00l:~/dl >


if I try find /home -name linux-* -print the program finds it. It also
succedes if I use path /home/office

The wildcard expansion is done by the shell, so you are searching for
another filename. Use quotes:

find . -name "linux-*" -print

On suse 6.0 this works ok

With the very same files in the very same directories?

BTW: wrong mailinglist.

Regards,
Vladimir
-o)
Hubert Mantel Goodbye, dots... /\\
_\_v

< Previous Next >