grep search with filename pattern include '*'

Dongsheng Song <[email protected]> Tue, 22 Feb 2011 12:29:20 +0800
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
Hi all,

When I use grep 2.5.4 from Gnuwin32, I can do

grep xxx *.txt

But when I build grep 2.5.4 myself, I cannot do

grep xxx *.txt

or

grep xxx \*.txt

Grep report error, 'No such file or directory'.

But I can not see there have difference in Gnuwin32 source with gnu source.

Thanks,
Dongsheng

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev