http://bugs.winehq.org/show_bug.cgi?id=23596
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr Component|programs |cmd
--- Comment #4 from Eric Pouech eric.pouech@orange.fr 2010-07-13 15:30:17 --- absolutely not!!!! it's not a console bug
using "/bin/grep -v" just works fine here and gets a nice output: Z:\home\eric\work\output-wine\wine64>Usage: /bin/grep [OPTION]... MOTIF [FICHIER]... Pour en savoir davantage, faites: « /bin/grep --help ».
It's a bug in cmd parsing which gets confused by a command
In order to test, commenting out if (!(*param1) && !(*param2)) return; in programs/cmd/wcmdmain.c, WCMD_run_program() makes things work as expected
But I'd rather think WCMD_parse_cmd is to blame (and confuses /bin/grep as both the program name and the first option)
hence changing component in bugzilla
A+