diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-10-25 19:09:13 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-10-25 19:10:25 -0700 |
commit | 1ec78b7772adf7ce28d8bef8f97192052075d66a (patch) | |
tree | 8147b0134749e97ada33771f902b3280ed65f68e | |
parent | a3d6ffc96af4ca5c2256dd4ad162926485697307 (diff) |
update
-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' |