Re: problem with 'find'
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, 30 Aug 1999, Kenneth Scharf wrote:
> If I issue the command "find / -name *.deb -print" in an xterm (fvm95
> wm) I get "find: paths must preced expression Usage: find [path...]
> [expression]"
>
> If I try this from a vterm (<ctl><alt><fn>) it works fine. I am NOT
> logged in as root in either case.
>
> Hmmm now it isn't even working in a vterm. (something changed since
> yesterday?)
You need to escape the '*' from your shell. Use a '\' to accomplish this:
find / -name \*.deb -print
I suppose it's possible that, when you saw success with the command you
posted, the * was expanding to something that find could work
with...maybe.
HTH,
noah
PGP public key available at
http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
or by 'finger -l frodo@ccs.neu.edu'
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBN8rVYodCcpBjGWoFAQFsGQP+M/P2iErfsN1JtatWSeMJ41gsf1Bx62ev
V2g98dTZCyr5fggj55Z2SB11UWkdV4/57ppU/nhIlwb9UTSmjdnExRY/XcdvL8u9
2gK33S40Y44RgTq2e4+duTt9+/AliOBXGZnxKGb4816t9YCb0VbI8LCwy7MiJoA2
ypIklGcJF48=
=Htec
-----END PGP SIGNATURE-----
Reply to: