Where is pcregrep?

Can’t seem to find pcregrep for Manjaro. Nor pcre2grep. Nor pcre-tools etc.
Where should I look?
I read the man pages for pacman, did not see how to add repositories if that is what I need.
Thanks in advance.

/usr/bin/pcregrep is provided by package pcre

Showing the work of updating and querying the database to find the answer;

$ sudo pacman -Fyx pcregrep
:: Synchronizing package databases...
 core                                                                               2.4 MiB  3.83 MiB/s 00:01 [##################################################################] 100%
 extra                                                                             45.5 MiB  6.48 MiB/s 00:07 [##################################################################] 100%
 multilib                                                                         232.8 KiB   986 KiB/s 00:00 [##################################################################] 100%
core/pcre 8.45-4
    usr/bin/pcregrep
    usr/share/doc/pcre/html/pcregrep.html
    usr/share/doc/pcre/pcregrep.txt
    usr/share/man/man1/pcregrep.1.gz
3 Likes

Excellent
Thanks a million

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.