add list_manual_pkgs.sh

This commit is contained in:
2023-07-19 19:31:39 +01:00
parent 0dafc3d701
commit eb68e8f136

3
list_manual_pkgs.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
# one-liner to list just the names of packages manually-installed with xbps-install, with no version numbers etc
xbps-query --list-manual-pkgs | awk -F '{gsub(/-[0-9]+.*$/, ""); print $0}'