On Sun, 6 Apr 2025 18:29:57 +0800 Yue Gui <yuemeng....@gmail.com> wrote:
For this issue, can we use the 'dpkg-query' command to replace 'dpkg -l'?
Thanks a lot for the suggestion Yue, I went a step further and used: dpkg-query -W -f='${source:Upstream-Version}' libtbb-dev which removes the need for sed. Have a nice day, Charles -- Charles Plessy - - ~ ~ ~ ~ ~ ~~~~ ~ ~ ~ ~ ~ - - charles.ple...@oist.jp Okinawa Institute of Science and Technology Graduate University Senior staff scientist ~~ Luscombe Unit ~~ https://groups.oist.jp/grsu Toots from work - ~~ ~~~~ ~~ - https://fediscience.org/@charles_plessy