From eb68e8f136423953066dbde7c35d66ea1621aeb4 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 19 Jul 2023 19:31:39 +0100 Subject: [PATCH] add list_manual_pkgs.sh --- list_manual_pkgs.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 list_manual_pkgs.sh diff --git a/list_manual_pkgs.sh b/list_manual_pkgs.sh new file mode 100644 index 0000000..ebb0dd9 --- /dev/null +++ b/list_manual_pkgs.sh @@ -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}'