Re: possible bug with find

2001-01-16 Thread Bob McGowan
Andrew Markebo wrote: > > > Bash seems to have begun with a smart habit of deciding when to glob, > and not to glob.. > Bourne shell and its derivatives: If the glob pattern does not match a file, pass it to the program and let it decide what to do. OK for 'find', other programs genera

RE: possible bug with find

2001-01-16 Thread Heribert Dahms
[EMAIL PROTECTED]] > Sent: Tuesday, January 16, 2001 23:01 > To: Heribert Dahms > Cc: 'Timothee Besset'; [EMAIL PROTECTED]; Heribert > Subject: Re: possible bug with find > > [Heribert] [snip] > BTW, this is my find, i compiled it, you can fi

Re: possible bug with find

2001-01-16 Thread Andrew Markebo
Just a small thought.. You don't happen to have a file named preferences.cpp in /cygdrive/e/Loki ?? Normally bash expands the *.cpp to match all files it matches before sending it to find.. Bash seems to have begun with a smart habit of deciding when to glob, and not to glob.. /An

RE: possible bug with find

2001-01-16 Thread Heribert Dahms
- > From: Gerrit Peter Haase [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 16, 2001 22:56 > To: Heribert Dahms > Cc: 'Timothee Besset'; [EMAIL PROTECTED] > Subject: Re: possible bug with find > > Heribert Dahms schrieb: > > > > Hi Timo,

Re: possible bug with find

2001-01-16 Thread Andrew Markebo
| | $ find include -iname *.h -print (It wasn't the unix-fault, it was a feature of the shell) Weeh I seem to have noticed something like this before but not reflected so much over it, bash seems to be able to do a smart decision if it wants to glob or not.. /Andy To glob or not to g

Re: possible bug with find

2001-01-16 Thread Corinna Vinschen
On Tue, Jan 16, 2001 at 09:56:10PM +, Gerrit Peter Haase wrote: > Heribert Dahms schrieb: > > > > Hi Timo, > > > > no bug, user error: On every *ix you normally need quotation to prevent the > > shell from file globbing (wildcard expansion) before involing programs, like > > > > find GtkRad

Re: possible bug with find

2001-01-16 Thread Gerrit Peter Haase
Heribert Dahms schrieb: > > Hi Timo, > > no bug, user error: On every *ix you normally need quotation to prevent the > shell from file globbing (wildcard expansion) before involing programs, like > > find GtkRadiant -iname '*.cpp' -print > > Bye, Heribert ([EMAIL PROTECTED]) Hi all, BTW, t

Re: possible bug with find

2001-01-16 Thread Gerrit Peter Haase
Heribert Dahms schrieb: > > Hi Timo, > > no bug, user error: On every *ix you normally need quotation to prevent the > shell from file globbing (wildcard expansion) before involing programs, like > > find GtkRadiant -iname '*.cpp' -print WHAT??? $ find include -iname *.h -print include/ansid

RE: possible bug with find

2001-01-16 Thread Heribert Dahms
Hi Timo, no bug, user error: On every *ix you normally need quotation to prevent the shell from file globbing (wildcard expansion) before involing programs, like find GtkRadiant -iname '*.cpp' -print Bye, Heribert ([EMAIL PROTECTED]) > -Original Message- > From: Timothee Besset [SMTP:

Re: possible bug with find

2001-01-16 Thread Corinna Vinschen
On Tue, Jan 16, 2001 at 02:10:35PM -0600, Timothee Besset wrote: > I get .. only 1 file out of the 104 it should find: > > administrator@DOWTEST-SGL /cygdrive/e/Loki > $ find GtkRadiant -iname *.cpp -print > GtkRadiant/radiant/preferences.cpp Did you really type the above or did you type fi

Re: possible bug with find

2001-01-16 Thread Larry Hall (RFK Partners, Inc)
At 03:10 PM 1/16/2001, Timothee Besset wrote: >ok, maybe I really suck at unix stuff, but I think I have a weird and buggy behaviour >with find: > >on a linux box (standard and recent slackware installation) I'm using find: > >tim@lunatic:/usr/local/root_home/tim$ find --version >GNU find version