Note
All of my GitHub repositories have been archived and will be migrated to Codeberg as I next work on them. This repository either now lives, or will live, at:
https://codeberg.org/pbrisbin/wat
If you need to report an Issue or raise a PR, and this migration hasn't happened yet, send an email to me@pbrisbin.com.
As in, Wat dafuq did I do?
Assume we number every system upgrade (e.g. pacman -Syu invocation) from 1,
beginning with the most recent and incrementing with each earlier upgrade.
% wat
Prints every package upgraded in -Syu 1.
% wat 3
Prints every package upgraded in and since -Syu 3.
% wat 7 4
Prints every package upgraded in and since -Syu 7, but only until -Syu 4.
By default, wat reads /var/log/pacman.log and only shows things you
upgraded. The log location can be changed by setting PACMAN_LOG or passing
-l|--log FILE and packages which you've installed can be included in the
output by passing -i or --installed
Put the wat script somewhere on your $PATH. Also available in the AUR.