[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Search in files with particular extension
From: |
Bob Proulx |
Subject: |
Re: Search in files with particular extension |
Date: |
Thu, 11 Jan 2007 09:00:08 -0700 |
User-agent: |
Mutt/1.5.9i |
suresh muthusamy wrote:
> Hi support,
This is not support. This is a community of people who volunteer time
and effort to help each other develop free software.
> How do i restrict the search with files of particular extension
> using "grep" command.
Use the find command. Example to only grep through html file.
find . -name '*.hmtl' -print0 | xargs -r0 grep PATTERN
Bob