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
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
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 -
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
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???
5 matches
Mail list logo