Patrick O'Callaghan wrote: > On Wed, 2025-06-04 at 14:37 -0700, ToddAndMargo via users wrote: >> Whenever I do a "dnf list", I always add >> ... | grep -i fragment_of_what_I_am_looking_for >> >> Makes me a happy camper. > > Yes I know. I'm still trying to get my head around the actual logic of > the dnf command options. I'm sure it's there (I use it all the time) > but the subtler parts of it still escape me. The documentation isn't too bad. And for dnf5, they've split it up a bit which *might* make it seem less onerous to read through. There are plenty of things which require following to another man page (or web page if you view the online documentation (https://dnf5.readthedocs.io/). That allows you to get the specifics for the command you want and follow up for details on the other parts which make you curious, in most cases. I know many people still use 'rpm -qa | grep ...' rather than take advantage of the simple matching provide by rpm. It's mildly wasteful, but for an interactive command it doesn't materially affect the time. For me, I usually prefer the more concise version of a command without having to pipe to another utility. The time I save typing commands clearly goes into typing long-winded replies. ;) One reason to avoid pipes when you can is that there are times when writing shell scripts where it matters. Not a lot. But if you know how to do something without a bunch of needless pipes, every so often it pays off. At the least, it saves some typing at the command line. -- Todd
Attachment:
signature.asc
Description: PGP signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue