https://bugs.winehq.org/show_bug.cgi?id=35254
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 67830 --> https://bugs.winehq.org/attachment.cgi?id=67830 patch
Attached a patch which is really copy/paste from find.exe. I only added some code to break up search pattern like "foo | bar" into seperate "foo" and "bar", and print fixme for any given option "/*" (Note: this seems to be a bug in find.exe; giving an option is not invalid... afaict)
So with this patch it gives:
wine cmd /c echo "foo bar" | findstr.exe "fo_o | bar" "foo bar"
wine cmd /c echo "foo bar" | findstr.exe "fo_o | ba_r " (no match)
Maybe for the time being could this be added to Staging to see if it does not cause any regressions?