On Wed, 28 Nov 2018 at 06:41, Roberto C. Sánchez <robe...@debian.org> wrote: > > apt-cache policy $(dpkg -l |grep libcurl | awk '{print $2}')
Just FAWC (for anyone who cares :]) that's a UUOG (useless use of grep), because regular expression support is fundamental to the design of awk. apt-cache policy $(dpkg -l | awk '/libcurl/ {print $2}') would be a nicer way to do that, FAWC.