Search in specific file type

Akshay sundarraj <[email protected]>
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CABEYGD3qK1m1E3Unv8qOqHM5dY5BpfNjofDnu4ne6tPKm1qBSg@mail.gmail.com>
Hi Global Team,

I would like to know whether there is an option to grep in specific file
type.

*"global -g[aEGilMnoOqtvVx][-L file-list][-S dir][-e] pattern [files]"*

can be used to grep for pattren in [files].

But I would like to use global -g on specific file types for e.g *.cpp
files.

Is there any option/way to filter out this?


Thanks & Regards,
Akshay

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global
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.