If I run findstr from a cmd prompt, I can see that if you give it no 
parameters, then it says bad command.. And if you give it a pattern and no file 
or stdin, then it tries to take from stdin

C:\>"c:\Program Files (x86)\Vim\vim74\vim"

C:\>
C:\>
C:\>findstr
FINDSTR: Bad command line

C:\>findstr there
dsfsdf
dsfds

C:\>


When in VIM, 
e.g. I open a cmd prompt and run 
C:\Program Files (x86)\Vim\vim74>vim.exe

I write some text dfdsfdsfsdfsdfsdfsds__there_dfsdfdsfdsfdsfsd   

and do 

:grep there

then it exits back to the cmd prompt and tries to read stdin until I Ctrl-C

http://i.imgur.com/ES5yHea.png


Why can't it read what is in VIM?

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to