Re: problem using recursive grep (-r option)

2012-08-08 Thread AngusC
This works find . -name "*.log" | grep -nH -r "my pattern" *.* marco atzeri-4 wrote: > > On 8/7/2012 5:08 PM, AngusC wrote: >> >> If I use the command: >> >> grep -nH -r "my pattern" *.* >> >> I get results back as ex

Re: problem using recursive grep (-r option)

2012-08-08 Thread AngusC
t the moment. Sean Daley-2 wrote: > > On Tue, Aug 7, 2012 at 11:08 AM, AngusC <> wrote: >> >> If I use the command: >> >> grep -nH -r "my pattern" *.* >> >> I get results back as expected >> >> But if the file pattern is like

Re: problem using recursive grep (-r option)

2012-08-07 Thread AngusC
Why would I use find . -name "*.log" -exec grep -nH "my pattern" \{\} \; which is much longer to type when I can use grep ... -r ??? marco atzeri-4 wrote: > > On 8/7/2012 5:08 PM, AngusC wrote: >> >> If I use the command: >> >> grep -

problem using recursive grep (-r option)

2012-08-07 Thread AngusC
If I use the command: grep -nH -r "my pattern" *.* I get results back as expected But if the file pattern is like this: grep -nH -r "my pattern" *.log I get no results back (Even though I have a ton of files with this pattern with .log file extension). Am I doing something wrong? -- View th

Query about how to get 'full' Cygwin/unix support

2012-03-28 Thread AngusC
Hello I am using cygwin and have copied the core cygwin files to a folder called binarytools on my Windows PC. This folder is first item in path env variable. When I run make it has commands to do a mkdir -p But mkdir -p myfolder creates a folder called -p and also a folder called myfolder???