diff options
Diffstat (limited to 'home/xyz/.local/bin/pq')
-rwxr-xr-x | home/xyz/.local/bin/pq | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/pq b/home/xyz/.local/bin/pq index d5f2fa29..2c4356c1 100755 --- a/home/xyz/.local/bin/pq +++ b/home/xyz/.local/bin/pq @@ -2,7 +2,8 @@ # Pacman Query, to manually determine remove the package or not [ "$1" ] && { - pacman -Qi "$1" | awk '/^Depends On/{f=1} /^Conflicts With/{f=0} f || /^Description/ || /^URL/ || /^Groups/ || /^Installed Size/ || /^Install Reason/' + #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/' printf '\n' pacman -Ql "$1" | grep '/bin/[^$]' printf '\n' |