Hello, my goal is to be able to search an arbitrary amount of packages using
Code:
apt-cache show package1 package2
... and grep all of those entries with
Code:
| grep "Package\|Size"
for instance.
The current solution appears to be extremely inefficient and I would like to believe there's another method with manipulating cat and/or echo (I'm not too good with those yet.)
i.e
This produces exactly what I want:
Code:
apt-cache show gparted | grep "Package/|Size" && apt-cache show partitionmanager | grep "Package\|Size"
How do I reproduce this more efficiently?