

1·
2 years ago@fell @archlinux@lemmy.ml @archlinux@lemmy.world @archlinux@discuss.tchncs.de @archlinux@kbin.social @archlinux@a.gup.pe you’d need to use a temporary database, keep doing pacman -Sy then pacman -Si package | grep version
All by memory may be wrong
@fell @archlinux@lemmy.ml @archlinux@lemmy.world @archlinux@discuss.tchncs.de @archlinux@kbin.social @archlinux@a.gup.pe you need something to call checkupdates | grep package every some time, i put it into my #fish shell greeting so everytime i open a shell i see how many packages i have to install
The code is
echo ‘Searching for updates…’
echo “Updates found:” $(checkupdates | wc -l)
This code should run over bash too