Genivia / ugrep

NEW ugrep 7.1: 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.66k stars 111 forks source link

Alias conflict: pgrep is a commonly used process-grep utility #433

Closed f440 closed 1 month ago

f440 commented 1 month ago

Hi, thank you for the great work on ugrep!

I noticed that in the recommended aliases, pgrep is suggested for Perl regular expression searches:

alias pgrep  = 'ugrep -P'    # search with Perl regular expressions

However, pgrep is already a standard utility on Unix-like systems that searches for processes by name. It's part of the procps package and is commonly used in system administration and scripting.

To avoid confusion and potential issues, maybe we could consider an alternative alias name (e.g. plgrep) for the Perl regex functionality?

What do you think?

genivia-inc commented 1 month ago

Ah, yes it makes sense to update the suggested aliases e.g. pugrep perhaps. Or just leave it out from the list, which I prefer.

genivia-inc commented 1 month ago

Updated README section with suggested aliases