Hi, John, On Sun, Jan 14, 2018 at 8:48 AM, john doe <johndoe65...@mail.com> wrote: > On 1/14/2018 7:28 AM, john doe wrote: > > $ dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' awk git gawk > cmake 2>&1 | awk '!/^ii/ || !/^un/{print $6}' > git > gawk > cmake
I also tried to parse stderr, but then I realized that relying on the output dpkg-query: no packages found matching is not correct since it might be localized and is not suitable for scripting.