diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-10-25 19:09:13 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-10-26 02:10:44 +0000 |
commit | dac35db84b6968ef460abb149a928846f1a403c0 (patch) | |
tree | 23fcd42a5e5dea32304e6e5a8f707039c6aeabfa /home/xyz | |
parent | 1f5a33f97b4a039314c8877ba7715497a1ae66c6 (diff) |
update
Diffstat (limited to 'home/xyz')
-rwxr-xr-x | home/xyz/.local/bin/pq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/pq b/home/xyz/.local/bin/pq index 93f231f1..268e0021 100755 --- a/home/xyz/.local/bin/pq +++ b/home/xyz/.local/bin/pq @@ -3,7 +3,7 @@ [ "$1" ] && { #sed -n '/^Depends On/,/^Conflicts With/{/^Conflicts With/!p}; /^Description\|^URL\|^Groups\|^Installed Size\|^Install Reason/p' - pacman -Qi "$1" | awk '/^Depends On/{f=1} /^Conflicts With/{f=0} f||/^Description|^URL|^Groups|^Installed Size|^Install Reason/' + pacman -Qi "$1" | awk '/^Groups/{f=1} /^Conflicts With/{f=0} f||/^Description|^URL|^Installed Size|^Install Reason/' printf '\n' pacman -Ql "$1" | grep '/bin/[^$]' printf '\n' |