about summary refs log tree commit diff
path: root/xgrep
diff options
context:
space:
mode:
Diffstat (limited to 'xgrep')
-rwxr-xr-xxgrep2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgrep b/xgrep
index 3e9359e..c2cbe7a 100755
--- a/xgrep
+++ b/xgrep
@@ -6,4 +6,4 @@ shift
 
 for pkg; do
 	xbps-query -f "$pkg"
-done | sed 's/ -> .*//' | xargs grep -d skip -e "$PATTERN"
+done | sed 's/ -> .*//' | xargs -d'\n' grep -H -d skip -e "$PATTERN"