Am Thu, Jan 19, 2023 at 09:10:30AM +0100 schrieb js-p...@online.de: Hello Julian,
> Hello together, > listing packages in apt with ”sudo“ in the title returns different output > (bash commands at the end of the email). I would fill a bug report, but I'm > not sure whether to address it to grep or apt. How do you see this? > > Kind regards > Julian Schreck > -- > $ apt list sudo* vs. $ apt list | grep "^sudo[a-z-]" > $ apt list *sudo vs. $ apt list | grep "[a-z-]sudo/" > $ apt list *sudo* vs. $ apt list | grep "sudo" It seems to be more a shell topic or how man 7 glob is handled. Please try the first patterns with "" signs as apt-list "sudo*" instead of apt-list sudo* and so on. It made the difference for me using the fish shell. Kind regards, Christoph -- Ist die Katze gesund schmeckt sie dem Hund.