Skip to content

Instantly share code, notes, and snippets.

@staernid
Created June 11, 2021 11:03
Show Gist options
  • Select an option

  • Save staernid/9b4b7725ee03d6ee0c0967da55995484 to your computer and use it in GitHub Desktop.

Select an option

Save staernid/9b4b7725ee03d6ee0c0967da55995484 to your computer and use it in GitHub Desktop.
Lists Void Linux / voidlinux (xbps) packages that were manually installed (without trailing "-VERSION" suffix)
#! /bin/bash
while read -r package ; do
echo "${package%-*}"
done < <(xbps-query -lm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment