From 8c7dc218f1fb73d00c25b0b802e75af12369086d Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 2 Oct 2014 13:31:25 +0200 Subject: xlocate: fix for filenames with : --- xlocate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlocate') 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/' -- cgit 1.4.1