Skip to content

Instantly share code, notes, and snippets.

View jdrowell's full-sized avatar

John D. Rowell jdrowell

View GitHub Profile
jdrowell /
Created November 18, 2022 11:09
List all packages installed in an Arch Linux based machine, with a short description (pure shell, no Bash required)
pacman -Qi | while read line; do
IFS=':' read -ra p <<< "$line"
case "${p[0]}" in
*Name*) name="${p[1]}" ;;
*Description*) desc="${p[1]}" ;;
"") echo $name - $desc

Keybase proof

I hereby claim:

  • I am jdrowell on github.
  • I am jdrowell ( on keybase.
  • I have a public key ASAeubRawA9TPmsLRQVEg4KjQrOZ-cwR984kzGxPIaJ96Ao

To claim this, I am signing this object: