I am using CGYWIN, the Unix emulator program on Windows XP.
How do I get output to go to a file? For instance, in DOS it is > and in VAX/VMS it is usually /output=filename.
I did a "man grep" to get a description (manual) of all the grep options. I see that there is no option for putting the output to a file.