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:09:13 -0700 |
commit | f2914410b3a35d01de09e27962ab9a992b7096da (patch) | |
tree | 13e7938a60e2a165c1e44b7cd4114c71d66b08c5 /home/xyz/.local | |
parent | e31ae251c00cdd66932858a5759cf53f6c2f3299 (diff) |
update
Diffstat (limited to 'home/xyz/.local')
-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 2c4356c1..bad9c354 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' |