Artificial intelligent assistant

Debian listing packages that are recommended by already installed packages As the tittle suggests: I'm looking for a way to list every package that is recommended by one of the packages that are already installed on my system. Kinda similarly to how `apt` displays recommended packages when installing something. I'd prefer to have the list as `X package recommends: W,Y,Z packages`.

This works:


dpkg-query -W -f \
'${db:Status-Abbrev} ${Package} package recommends ${Recommends} packages\
' |
sed -nr '/( [^ ]+){5,}/ s/^.i. //p'

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy ab5c13b1a3bfb1a9fda4a5ba0ecd14de