> Alternatively there is apt-show-versions. > > $ apt-show-versions xterm > xterm:amd64/testing 312-1 uptodate > > If there were a newer version available it would show "upgradeable 312-1" > or some such newer version number instead of "uptodate". >
This works for me. I can use the backticks `` to execute a command and grep on the output. thanks raju -- Kamaraju S Kusumanchi http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cabpbyacgghbjxmfktoupxxhekd0xz0kpgwfdfvusvjvqqtt...@mail.gmail.com