public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rg(1) supports ebuild as a file type filter
@ 2022-09-28 18:01 Zoltan Puskas
  2022-09-28 23:38 ` Maciej Barć
  0 siblings, 1 reply; 2+ messages in thread
From: Zoltan Puskas @ 2022-09-28 18:01 UTC (permalink / raw
  To: gentoo-dev

Hey,

Admittedly shameless plug and only a minor thing, but since I've seen mgorny's
great addition to file(1) mentioned on the list, I've also wanted to share that
sometime in early 2020 I've got a PR merged into RipGrep which adds a filter for
searching ebuild files only. E.g. you can do:

  rg -t ebuild <your_search_pattern>

Maybe some maintainers will find it useful when searching for examples in ebuilds.

Cheers,
Zoltan


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] rg(1) supports ebuild as a file type filter
  2022-09-28 18:01 [gentoo-dev] rg(1) supports ebuild as a file type filter Zoltan Puskas
@ 2022-09-28 23:38 ` Maciej Barć
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2022-09-28 23:38 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1.1: Type: text/plain, Size: 606 bytes --]

Hi!

Very cool, thanks for sharing!


On 9/28/22 20:01, Zoltan Puskas wrote:
> Hey,
> 
> Admittedly shameless plug and only a minor thing, but since I've seen mgorny's
> great addition to file(1) mentioned on the list, I've also wanted to share that
> sometime in early 2020 I've got a PR merged into RipGrep which adds a filter for
> searching ebuild files only. E.g. you can do:
> 
>    rg -t ebuild <your_search_pattern>
> 
> Maybe some maintainers will find it useful when searching for examples in ebuilds.
> 
> Cheers,
> Zoltan
> 

-- 
Have a great day!

~ Maciej XGQT Barć

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 6297 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-28 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28 18:01 [gentoo-dev] rg(1) supports ebuild as a file type filter Zoltan Puskas
2022-09-28 23:38 ` Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox