Genivia / ugrep

NEW ugrep 6.5: a more powerful, ultra fast, user-friendly, compatible grep. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), pdfs, docs, and more
https://ugrep.com
BSD 3-Clause "New" or "Revised" License
2.57k stars 109 forks source link

Add Macports moar +pager variant (moar-pager) #328

Closed halostatue closed 9 months ago

halostatue commented 9 months ago

In macports/macports-ports#21604, the MacPorts team merged a way of installing the moar pager (support for moar was added to ugrep @295382bc72) that renames the installed binary to moar-pager because moar conflicts with name of the Rakudo virtual machine (MoarVM). This is not the default variant, but it will be used by MacPorts users who prefer moar to less and also develop nqp or Rakudo (and therefore require MoarVM).

This patches ugrep to check the $PAGER command for moar-pager before moar, the same as we now do in the ugrep port.

Merging this will allow us to no longer require a patch to the port distribution and continue distributing upstream unmodified, which is our preference.

genivia-inc commented 9 months ago

Thank you for contributing to the project!

halostatue commented 9 months ago

Thank you!