Mail Archives: cygwin/1999/01/05/00:51:37
Thanks fellows,
You're both correct, it's my usage that's incorrect. I found the same
behavior on a bash running on a BSD system.
I'm still a little mystified that I don't need the escape or the quotes if
there are no matching files in the directory; I wonder what argv[3] is in
that case. I guess it must be "*.java". Interesting.
Hugh Winkler
Scout Systems, Inc.
> -----Original Message-----
> From: Kevin Schnitzius [mailto:kevins AT citrix DOT com]
> How does bash do file name matching on '*'?
> What does 'echo *.java' produce in that directory?
> Shouldn't your find command be 'find ./ -name \*.java'?
>
> -----Original Message-----
> From: oe AT port DOT de [mailto:oe AT port DOT de]
> If yo use find with file name globbing you shoud be shure
> that the shell doesn't it before
> So you have to say
>
> $ find ./ -name "*.java"
>
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -