[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reportbug: don't know: bug in apt [list] or in grep



Am 19.01.2023 um 09:10 schrieb js-priv@online.de:
> 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"
> 
> 

I do not understand the issue. Nor do not see the "bug".
I do get different outputs from different commands though, as they are
not identical.


Reply to: