diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-10-02 13:31:25 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-10-10 16:44:40 +0200 |
commit | 8c7dc218f1fb73d00c25b0b802e75af12369086d (patch) | |
tree | 26d1a9d6f4ee1016b9c2727d4c80458c7d5e7b71 /xlocate | |
parent | 5d58f6d27b0ee4837afeb715cacd03f8a66e5c4e (diff) | |
download | xtools-8c7dc218f1fb73d00c25b0b802e75af12369086d.tar.gz xtools-8c7dc218f1fb73d00c25b0b802e75af12369086d.tar.xz xtools-8c7dc218f1fb73d00c25b0b802e75af12369086d.zip |
xlocate: fix for filenames with :
Diffstat (limited to 'xlocate')
-rwxr-xr-x | xlocate | 2 |
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/' |