Useful CLI tools (bash) for Arch Linux administration
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/env bash
|
|
# Simple core KDE package finder on Arch Linux
|
|
# Pekka Helenius, 2018
|
|
|
|
pattern="https://community.kde.org/Frameworks"
|
|
|
|
IFS=$'\n'
|
|
for pkg in $(pacman -Q | awk '{print $1}'); do
|
|
if [[ $(printf $(pacman -Qi $pkg | grep -E ${pattern} &> /dev/null)$?) -eq 0 ]]; then
|
|
echo $pkg
|
|
fi
|
|
done
|
|
unset IFS
|