about summary refs log tree commit diff
path: root/xlocate
diff options
context:
space:
mode:
Diffstat (limited to 'xlocate')
-rwxr-xr-xxlocate2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate
index 63c2d9b..705cd34 100755
--- a/xlocate
+++ b/xlocate
@@ -1,4 +1,4 @@
 #!/bin/sh
 # xlocate PATTERN - locate files in all XBPS packages
 
-xbps-query --regex -Ro "$@" | sed 's/(http:.*)$//; s/-[^-]*:/\t/'
+xbps-query --regex -Ro "$@" | sed 's/ *([^)]*)$//; s/^\([^ ]*\)-[^-]*: /\1\t/'