Re: [GnuWin32-Users] recursive search using grep and find
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
From: Charles C. <cbc...@th...> - 2012-01-10 14:51:37
|
On 1/10/2012 8:33 AM, Weiyu Yi wrote: > > I have just installed gnuutils(find and grep) in my winxp(32) system. > > when I try to find some files containing some certain string > recursively, something strange happens > > i.e. grep -l 'something' -R * If you're using the WinXP command shell, this should be: grep -rl "something" *.* If you're using PowerShell, bash or zsh, it should be: grep -rl 'something' * -- Charles Calvert |