diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-08 20:10:56 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-02-08 20:10:56 +0100 |
commit | 5a14865703141bcf489778960e615a9bfe2608bf (patch) | |
tree | fd43fc3145d5151887bc0b3c07b31b05be9220f6 /contrib/lrocate | |
parent | ed14685ee59c4e7b09053e9def6db88e3ba100cd (diff) | |
download | lr-5a14865703141bcf489778960e615a9bfe2608bf.tar.gz lr-5a14865703141bcf489778960e615a9bfe2608bf.tar.xz lr-5a14865703141bcf489778960e615a9bfe2608bf.zip |
add some contrib scripts.
Diffstat (limited to 'contrib/lrocate')
-rwxr-xr-x | contrib/lrocate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/lrocate b/contrib/lrocate new file mode 100755 index 0000000..2186918 --- /dev/null +++ b/contrib/lrocate @@ -0,0 +1,5 @@ +#!/bin/sh +# lrocate [PATTERN] [LR OPTIONS...] - call lr(1) on locate(1) results + +pattern=$1; shift +locate -0 "$pattern" | xe -0 -N0 lr -lG "$@" |