Should work (note that system package `grep` is ignored): ```shell $ find /var/log/packages/ -iname grep* /var/log/packages/grep-2.22-x86_64-1 $ find /var/log/packages/ -iname dwm* /var/log/packages/dwm-6.1-x86_64-1_SBo $ export package="grep"; find /var/log/packages/ -iname "*$package*" | grep -v [0-9]$ $ export package="dwm"; find /var/log/packages/ -iname "*$package*" | grep -v [0-9]$ /var/log/packages/dwm-6.1-x86_64-1_SBo ```pull/1/head
parent
cf5dbea67c
commit
14aedfacec
Loading…
Reference in new issue