[pcre-dev] [Bug 1070] No file globbing under Win32 OS

Top Page
Delete this message
Author: Bucky Kid
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1070] No file globbing under Win32 OS
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1070




--- Comment #2 from Bucky Kid <bucky.kid@???> 2011-01-18 14:32:04 ---
(In reply to comment #1)
> On Tue, 18 Jan 2011, Bucky Kid wrote:
>
> > This is globbing problem of pcregrep occuring on Win32 builds:
> >
> > pcregrep "teststring" *.txt
> >
> > generates this error message
> >
> > pcregrep: Failed to open *.txt: Invalid argument
> >
> > version independent, tested with same command line on mingw32 build and file
> > globbing is working
>
> There is no globbing within pcregrep. In Unix/Linux systems it relies on
> the shell to do that job. In other words, if the above command is run
> under (e.g.) the bash shell, what the program sees is a list of file
> names. It does not see "*.txt". The message you quote above shows that
> whatever shell you were using has just passed "*.txt" to pcregrep.
>
> I am not a Windows user, so I have no idea about any kind of globbing
> under Windows. Anybody else on this list care to answer?
>
> Philip
>


OK thanks for explanation.
Anyway is there a way to make pcregrep under Windows to populate wildcards in
file names?
I miss this functionality for pcregrep quite much and gcc is not my preferred
compiler...


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email