[gnuwin32 - Help] GREP PROBLEMS

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4585988
By: sarambaram

Help neede, please.

1. When i grep like this it is fine..

C:\Program Files\GnuWin32\bin>grep -i -w -r "3201" "C:\Documents and
Settings\ij
agarce.AGBPULS-CRO\Desktop\test\input\rf071023.txt" > "C:\Documents and
Settings
\ijagarce.AGBPULS-CRO\Desktop\test\output\test.txt"

output is: 12,20071023,020000,020004,5,126706,"ZAUVIJEK LJUBAV - AMERICKA
DRAMA","3201",250.50

2. BUT when i grep like this, with whole folder, it is not fine

C:\Program Files\GnuWin32\bin>grep -i -w -r "3201" "C:\Documents and
Settings\ij
agarce.AGBPULS-CRO\Desktop\test\input\" > "C:\Documents and Settings
\ijagarce.AGBPULS-CRO\Desktop\test\output\test.txt"

output is: C:\Documents and
Settings\ijagarce.AGBPULS-CRO\Desktop\test\input/rf071023.txt:12,20071023,020000
,020004,5,126706,"ZAUVIJEK LJUBAV - AMERICKA DRAMA","3201",250.50

i need to grep whole folder but output should be like in first one.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.